Available on: all targets ✓ verified

separating instructions

In ugBASIC, the instructions are separated using a colon character (:). Since this character is used also as a suffix for a label, you have to use the [label:] variant, to avoid to consider label as a instruction.

SYNTAX

 instruction1 : instruction2 : ...


Legend
  • id : identifier
  • type : datatype
  • v : value
  • "..." : string
  • [...] : optional

EXAMPLE

 PRINT : CLS : PRINT


Any problem?

If you have found a problem with this keyword, if you think there is a bug or, more simply, you would like it to be improved, open an issue for this example on GitHub.
Thank you!

open an issue BACK TO KEYWORDS