SmallBASIC GuideThe language | Programming Tips | Commands | System | Graphics & Sound | Miscellaneous | File system | Mathematics | 2D Algebra | Strings | Console | Glossary |
Special Characters

&h or 0x Prefix for hexadecimal constant (0x1F,&h3C)
&o or 0o Prefix for octal constant (0o33,&o33)
&b or 0b Prefix for binary constant (0b1010,&b1110)
[,;] Array definition (function ARRAY())($1)
< Appends to an array (command APPEND)($1)
++ Increase a value by 1 (x = x + 1)($1)
-- Decrease a value by 1 (x = x - 1)($1)
p= Another LET macro (x = x p ...). Where p any character of -+/\*^%&
: Separates commands typed on the same line
& Join code lines (if its the last character of the line). The result line its must not exceed the max. line size.
# Meta-command (if its the first character of the line) or prefix for file handle
@@ The 'at' symbol can by used instead of BYREF ($1)
' Remarks
$1, Pseudo operators. These operators are replaced by compiler with a command or an expression.


[Prev] [Next]