Anonymous

File handling in SpecBAS: Difference between revisions

From Sinclair Wiki
no edit summary
No edit summary
No edit summary
Line 15: Line 15:
==ZXASCII==
==ZXASCII==


BASIC listings can be stored as ASCII text files, allowing the use of any text editor to create SpecBAS programs. Using '''SAVE "filename" ASCII''' and '''LOAD "filename" ASCII'''
BASIC listings can be stored as ASCII text files, allowing the use of any text editor to create SpecBAS programs. Using '''SAVE "filename" ASCII'''


Specify ASCII after the filename (but before any LINE item). If LINE is present, then it will be saved with a flag to execute the program from that line when loaded. '''SAVE "filename" [[ASCII] LINE numexpr]''' Programs created in a text editor can be loaded into SpecBAS, as long as the header “ZXASCII” is the alone on the first line of the program.
Specify ASCII after the filename (but before any LINE item). If LINE is present, then it will be saved with a flag to execute the program from that line when loaded. '''SAVE "filename" [[ASCII] LINE numexpr]''' Programs created in a text editor can be loaded into SpecBAS, as long as the header “ZXASCII” is the alone on the first line of the program.
62

edits