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

📚 A BAM Use-Case: Giving a New Lease on Life to Old BASIC Programs

One BAM's top goals is to make it fairly easy to port old BASIC programs so that they can be shared via the web for running in any web b...