Monday, December 18, 2023

📚 Syntax for Line Numbers



Although leading zeroes are allowed in line numbers if desired, leading zeroes are ignored by BAM when the line numbers are referenced/resolved by statements:
  • GOTO and ON..GOTO
  • GOSUB and ON..GOSUB
  • RESTORE and ON...RESTORE
So the following all refer to the line "123": 123, 0123, 00123, 000123










No comments:

Post a Comment

🖥 Spiralling Text (old-school sine wave)

This is a mod of a program Richard Keijzer wrote in TRS-80 Level II BASIC (44 years ago) and recently shared with the BASIC Programming Lang...