21.11.2014 Views

Programming Manual for Citizen BASIC Interpreter - MaRCo

Programming Manual for Citizen BASIC Interpreter - MaRCo

Programming Manual for Citizen BASIC Interpreter - MaRCo

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Citizen</strong> <strong>BASIC</strong> <strong>Interpreter</strong><br />

Ready<br />

>LOAD "E:EXAMPLE1.BAS"<br />

3.9.2 SAVE and STORE Commands<br />

【Explanation】<br />

These commands save the <strong>BASIC</strong> program on the memory to the drive.<br />

【Format】<br />

1SAVE file name<br />

2STORE file name<br />

【Parameter】<br />

File name: <strong>BASIC</strong> program file of destination to save<br />

【E.g.】<br />

Ready<br />

>SAVE "R:TEST.BAS"<br />

Ready<br />

3.9.3 DIR and FILES Commands<br />

【Explanation】<br />

These commands display on the console the list of the <strong>BASIC</strong> program saved in the<br />

drive.<br />

【Format】<br />

1DIR [file name wildcard]<br />

2FILES [file name wildcard]<br />

【Parameter】<br />

File name wildcard: file name wildcard of the <strong>BASIC</strong> program to display<br />

It displays the list of the <strong>BASIC</strong> program corresponding to the file name wildcard.<br />

“*” and “?” have the following meaning:<br />

*: arbitrary string<br />

?: arbitrary characters<br />

Omission of the file name wildcard as a parameter displays all drives and files.<br />

【E.g.】<br />

Ready<br />

>DIR "E:*.BAS"<br />

- DIR E:*.BAS<br />

* R:TEST.BAS 643<br />

* E:EXAMPLE1.BAS 643<br />

* E:EXAMPLE2.BAS 408<br />

-4193660 byte free R: RAM<br />

-358148 byte free E: ONBOARD FLASH<br />

Ready<br />

28

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!