Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
SIPL
(view source)
Revision as of 18:00, 2 February 2020
26 bytes added
,
18:00, 2 February 2020
→Syntax
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 <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>
* For loops are not supported, however you can write <code>'''foreach''' (element '''in''' list)</code>
* For loops are not supported, however you can write <code>'''foreach''' (element '''in''' list)</code>
Khornel
Bureaucrats
,
Interface administrators
,
Administrators
768
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
Special pages
Printable version