| Line 8: |
Line 8: |
| | * 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 ^ symbol raises a number to a power |
| − | * You cannot increment or use operations together with assignment, i.e. += or ++. You must write i = i + 1 | + | * You cannot increment or use operations together with assignment, i.e. += or ++. You must write <code>i = i + 1</code> |
| − | * SIPL does not support the new keyword, but you can create arrays by writing ~[1, 2, 3] | + | * SIPL does not support the new keyword, but you can create arrays by writing <code>~[1, 2, 3]</code> |
| − | * For loops are not supported, however you can write foreach (element in list) | + | * For loops are not supported, however you can write <code>'''foreach''' (element '''in''' list)</code> |
| − | * Comparisons can be chained, e.g. if (10 < x < 20) | + | * Comparisons can be chained, e.g. <code>'''if''' (10 < x < 20)</code> |
| | * Any enumerable can be indexed into with a number (except for dictionaries), including sets. | | * Any enumerable can be indexed into with a number (except for dictionaries), including sets. |
| | * Single quotation marks (') do nothing | | * Single quotation marks (') do nothing |