Positron Compiler Documentation

Line Labels

Positron8 · Revision 4.0.6.5 · PDF page 19

In order to mark statements that the program may wish to reference with the GoTo, Call, or GoSub commands, the compiler uses line labels. Unlike many older BASICs, the Positron8 compiler does not require line numbers and does not require that each line be labelled. Instead, any line may start with a line label, which is simply an identifier followed by a colon ':'.

Label:
  HRsoutLn "Hello World"
  GoTo Label
View original PDF page 19Open page in PDFOriginal PDF page 19