Anonymous

Acquainting yourself with SpecBAS: Difference between revisions

From Sinclair Wiki
no edit summary
No edit summary
No edit summary
Line 9: Line 9:
==Hello World==
==Hello World==


Commands can be stored into memory by pre-fixing them with a line number, they are arranged by line number to form a program. The program currently stored in memory will be displayed at the top of the window. More than one command can be stored on one line, or executed from the command line, by separating them with a ":" colon. For example, enter the following program:
Commands can be stored into memory by pre-fixing them with a line number, they are arranged by line number to form a program. The program currently stored in memory will be displayed at the top of the window. More than one command can be stored on one line, or executed from the command line, by separating them with a ''':''' colon. For example, enter the following program:
  10 PRINT "Hello World"
  10 PRINT "Hello World"
  20 PRINT "Goodbye": PRINT "World"
  20 PRINT "Goodbye": PRINT "World"
62

edits