Fandom

Petit Computer Wiki

Labels

915pages on
this wiki
Add New Page
Comments0 Share

Labels may only exist in program memory; they make no sense in Run Mode. A label begins with the "@" sign, followed by between 1 and 16 characters, which may be any combination of letters, numbers, and the underscore character.  Unlike variable names, program memory labels can 'begin' with a digit (after the @ symbol, of course). Labels are essentially case-insensitive, as variable names are: upon exiting Edit Mode (whether to Run Mode or Help Mode), every lowercase letter in every label (and variable name) is replaced with its uppercase.

Labels are used for GOTO, GOSUB, ON ... GOTO, ON ... GOSUB, RESTORE, BGMSETD, and LIST commands.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.