Miscellaneous#
Line breaks in code#
Lines can currently only be split after ‘[‘, ‘(‘ or ‘,’ tokens.
1 2 3 4 5 6 7 8 | Local myArray:Int[] = New Int[]( 0, 1, 2) Local myarray2:String[,] = New String[ 10, 10] |
Print#
Writes a String or a numeric value to the output console.
1 2 | Print "Hello world" ' printing a String Print myFloat ' printing a Float |
Hexadecimal numbers ($)#
Hexadecimal numbers can be entered using the $ symbol
1 | Local i := $A0F |
File privacy levels#
Privacy levels can be set at file scope:
-
Publiccan be accessed from anywhere. It is the default level. -
Privatecan be accessed within the file only. -
Internalcan be accessed from the same module only.