Anonymous

Acquainting yourself with SpecBAS: Difference between revisions

From Sinclair Wiki
no edit summary
No edit summary
No edit summary
Line 12: Line 12:
  10 PRINT "Hello World"
  10 PRINT "Hello World"
  20 PRINT "Goodbye": PRINT "World"
  20 PRINT "Goodbye": PRINT "World"
This should now be stored in memory, and displayed at the top of the window. To execute a program, enter the command> RUN. To save a program to disk, enter> SAVE "filename" . To retrieve a saved program, enter> LOAD "filename" . The command> NEW will erase a program from memory. Individual lines can be erased by entering their line number alone ( to erase line 20, simply enter> 20 ). Entering> QUIT will exit SpecBAS.  
This should now be stored in memory, and displayed at the top of the window. To execute a program, enter the command '''RUN''' . To save a program to disk, enter '''SAVE "filename"''' . To retrieve a saved program, enter '''LOAD "filename"''' . The command '''NEW''' will erase a program from memory. Individual lines can be erased by entering their line number alone ( to erase line 20, simply enter '''20''' ). Entering '''QUIT''' will exit SpecBAS.  


==Editor controls==
==Editor controls==
62

edits