Changes

Jump to navigation Jump to search
13 bytes added ,  18:01, 2 February 2020
Line 7: Line 7:  
* Number operations in SIPL convert all numbers to doubles behind the scenes
 
* Number operations in SIPL convert all numbers to doubles behind the scenes
 
* You can use the '''var''' keyword to declare temporary variables, but you cannot specify their type
 
* You can use the '''var''' keyword to declare temporary variables, but you cannot specify their type
* You cannot use bitwise operations. The ^ symbol raises a number to a power
+
* You cannot use bitwise operations. The <code>^</code> symbol raises a number to a power
 
* You cannot increment or use operations together with assignment, i.e. <code>+=</code> or <code>++</code>. You must write <code>i = i + 1</code>
 
* You cannot increment or use operations together with assignment, i.e. <code>+=</code> or <code>++</code>. You must write <code>i = i + 1</code>
 
* SIPL does not support the '''new''' keyword, but you can create arrays by writing <code>~[1, 2, 3]</code>
 
* SIPL does not support the '''new''' keyword, but you can create arrays by writing <code>~[1, 2, 3]</code>

Navigation menu