Difference between revisions of "Module:Sandbox/Arcangelus/doc"

From RimWorld Wiki
Jump to navigation Jump to search
m
Line 7: Line 7:
 
{{#invoke:Sandbox/Arcangelus|hello}}-->
 
{{#invoke:Sandbox/Arcangelus|hello}}-->
 
-----
 
-----
Calculo 1 ['''SkillValue''']
+
Calculo 1 ['''SkillValue''']: Lua slower (by a lot)
 
  Module: {{#invoke:Sandbox/Arcangelus|SkillValue|2|3|4}}
 
  Module: {{#invoke:Sandbox/Arcangelus|SkillValue|2|3|4}}
 
  2+3*4 = {{#expr: 2 + 3*4}}
 
  2+3*4 = {{#expr: 2 + 3*4}}
 
 
-----
 
-----
Calculo 1 ['''twomult''']
+
Calculo 2 ['''twomult''']: Lua slower (by a lot)
 
  Module: {{#invoke:Sandbox/Arcangelus|twomult|2|3}}
 
  Module: {{#invoke:Sandbox/Arcangelus|twomult|2|3}}
 
  2*3 = {{#expr: 2 * 3}}
 
  2*3 = {{#expr: 2 * 3}}
 
-----
 
-----
Calculo 1 ['''sum''']
+
Calculo 3 ['''sum''']: Lua slower (by a lot)
 
  Module: {{#invoke:Sandbox/Arcangelus|sum|1|2|3|4|5}}
 
  Module: {{#invoke:Sandbox/Arcangelus|sum|1|2|3|4|5}}
 
  1+2++3+4+5 = {{#expr: 1+2++3+4+5}}
 
  1+2++3+4+5 = {{#expr: 1+2++3+4+5}}
 +
-----
 +
Calculo 4 ['''potencia''']
 +
Module: {{#invoke:Sandbox/Arcangelus|potencia|10|5}}
 +
10^5 = {{#expr: 10^5}}

Revision as of 22:22, 10 August 2024

Welcome to the RimWorld Wiki sandbox!
This sandbox is where you can experiment and practice working on a wiki page. This page will usually have little or no content. Feel free to add content or to make changes and save them to see the results.

To learn about editing and formatting start here: Help:Contents. Just start with the basics... enter some text, and learn the other pieces as you go.

Your content contributions are welcome and important. The wiki is a collaborative effort and others can help with formatting and other improvements.]

Best wishes!

Description

This is a doc attached to my sandbox. I'll use it to see the effects of my changes W/o messing something important


Calculo 1 [SkillValue]: Lua slower (by a lot)

Module: Script error: The function "SkillValue" does not exist.
2+3*4 = 14

Calculo 2 [twomult]: Lua slower (by a lot)

Module: Script error: The function "twomult" does not exist.
2*3 = 6

Calculo 3 [sum]: Lua slower (by a lot)

Module: Script error: The function "sum" does not exist.
1+2++3+4+5 = 15

Calculo 4 [potencia]

Module: Script error: The function "potencia" does not exist.
10^5 = 100000