Programming Manual for Citizen BASIC Interpreter - MaRCo
Programming Manual for Citizen BASIC Interpreter - MaRCo
Programming Manual for Citizen BASIC Interpreter - MaRCo
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>Citizen</strong> <strong>BASIC</strong> <strong>Interpreter</strong><br />
E.g.: draws the example/s of command usage.<br />
The symbols of the <strong>for</strong>mat have the following meaning:<br />
Omission [a]<br />
Repetition <br />
Selection {a|b|c|d}<br />
a can be omitted.<br />
a can be repeated to designate.<br />
one of a, b, c or d is selected to designate.<br />
3.1 File Name<br />
3.1.1 Program Store Drive<br />
Storage of the <strong>BASIC</strong> program occurs in the following drives, in which the <strong>BASIC</strong><br />
program can be stored using the SAVE command. To read the stored <strong>BASIC</strong> program,<br />
use the LOAD command.<br />
Drive<br />
Use<br />
E: (ZPL) / B: (DMX) Permanent storage by non-volatile memory<br />
R: (ZPL) / A: (DMX) Temporary storage by volatile memory<br />
3.1.2 File Name Convention<br />
Content disappears when powered off<br />
The <strong>BASIC</strong> program stored in a drive is managed under a file name, designated as<br />
the following <strong>for</strong>mat. Designate it with the number of characters of 13 or less in<br />
combination with a file name and extension.<br />
Drive:file name.extension<br />
Drive: E:, R: (ZPL) / A:, B: (DMX)<br />
File name: arbitrary character<br />
Extension: .BAS fixed<br />
E.g.<br />
E:PROGRAM.BAS<br />
R:TEMP.BAS<br />
3.2 Input-Output Device<br />
3.2.1 List of Devices<br />
Data input-output allows the <strong>BASIC</strong> program to communicate with the printer engine<br />
and the external devices connected to communication interface as shown in table<br />
8.<br />
Table 8: List of devices<br />
Device name Device<br />
ZPL<br />
Printer engine<br />
SER<br />
Serial interface<br />
PAR<br />
Parallel interface<br />
USB<br />
USB interface<br />
3.2.2 Console Device<br />
20