number instruction label: instruction [label:] instruction
In ugBASIC it is possible to indicate the position within a program with the use of so-called “labels”. The labels can be represented in the BASIC standard, i.e. with numeric labels, or with alphanumeric labels, and are used to jump within specific positions of the program.
100 PRINT "oK!": GOTO 100 begin: PRINT "OK!" : GOTO begin [begin:] PRINT "OK!" : GOTO begin
See also the following example files:
If you have encountered a problem using this command, if you think there is a bug or the explanation is unclear, please open an issue for this keyword on GitHub. Thank you!