- . . :
- -----------
-
-
- The colon is not used to separate statements
in a line, as WimpBasic only
- allows one statement per line. The colon has
two functions. The first one
- is to separate groups and variables. All global
variables belong to a group
- and to use them you enter them as Group:Variable.
-
- Example: Group:Variable
-
- The second use for the colon is to define a label
for the Goto or Restore
- statements. To do this, you must have a colon
as the first character on the
- line and follow it with a valid label. Labels
have the same rules as variable
- names except that the characters (, ), % and $ are not allowed.
-
- Example:
- On
Error Goto LowMemory
- Rem
Some code to handle low memory
- :LowMemory