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 />
41 ERR Obtain error code at error<br />
42 ERMSG$ Content of error message<br />
43 SGN Sign<br />
44 ABS Absolute value<br />
45 SQR Square root<br />
46 LOG Natural logarithm<br />
47 EXP Nth power of e<br />
48 EVAL Evaluate <strong>for</strong>mula<br />
49 INT Integerize<br />
50 SIN Sine<br />
51 COS Cosine<br />
52 ATAN Arctangent<br />
53 RND Random number<br />
54 PI Pi<br />
3.6 Program Execution<br />
3.6.1 RUN Command<br />
【Explanation】<br />
This command executes the <strong>BASIC</strong> program.<br />
【Format】<br />
1RUN<br />
2RUN line number<br />
3RUN file name<br />
1Executes the <strong>BASIC</strong> program currently loading to memory.<br />
2Executes from the line number position designated by the <strong>BASIC</strong> program currently<br />
loading to memory.<br />
3Loads and executes the program designated by a file name saved in the drive. The<br />
<strong>BASIC</strong> program in a command other than the line number designation is executed from<br />
the beginning of the <strong>BASIC</strong> program.<br />
【Parameter】<br />
Line number: execution started.<br />
file name: designate a file name to execute in a string.<br />
【E.g.】<br />
Ready<br />
>LOAD "E:SER.BAS"<br />
Ready<br />
>RUN<br />
3.6.2 STEP Command<br />
【Explanation】<br />
This command executes a statement of the <strong>BASIC</strong> program to get back to the state<br />
of command input. It can restart continuous execution with the CONT command in the<br />
state where the program execution is suspended.<br />
【Format】<br />
STEP<br />
【E.g.】<br />
24