Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
SIPL
(view source)
Revision as of 15:56, 6 March 2020
29 bytes added
,
15:56, 6 March 2020
→Syntax
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 <code>^</code> symbol raises a number to a power
+
* You cannot use bitwise operations. The <code>^</code> symbol raises a number to a power
or evaluates xor on booleans
* 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>
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