Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
SIPL
(view source)
Revision as of 16:31, 4 February 2020
129 bytes added
,
16:31, 4 February 2020
→Syntax
Line 11:
Line 11:
* 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>
+
* Enums should not be qualified in function parameters, e.g. you should write '''Female''' instead of '''Human.Gender.Female'''.
* Comparisons can be chained, e.g. <code>'''if''' (10 < x < 20)</code>
* Comparisons can be chained, e.g. <code>'''if''' (10 < x < 20)</code>
* Single quotation marks (') do nothing
* Single quotation marks (') do nothing
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