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

📚 TIP: Exporting a BAM Program for Embedding as an App in Web Pages

Say we have written an analog clock program, and we want to show that clock on a Web Page. Here is a QB64 program by b+ ported to BAM: Run t...