| # | Saves space for a digit |
| . | Decimal point |
| + | Plus sign |
| - | Minus sign |
| * | Leading zeros are replaced by '*' |
| $$ | Prefixes the dollar symbol |
| , | Inserts a comma |
| ^^^^ | Exponent form e+100 |
| ^^^^^ | Exponent form e+1000 |
| ! | Displays the first character of a string |
| &s; | Displays the whole string |
| \..\ | Displays as many characters as the length of \..\ |
| Channel | Is either 1, 2 or 3 |
| Note | Is a value in the range 1 to 12 for c, c#, d, d# e f f# g g# a a# b respectively |
| Octave | Is of the range 1 to 8 |
| Duration | Is measured in 50ths of a second |
| #period | Is calculated using TRUNC(125000/frequency + 0.5) |
a%=1
GOSUB test(*a%)
PRINT a
END
'
PROCEDURE test(b%)
*b%=2
RETURN
In the above example 2 will be displayed.