Download Remote Processing Coorporation RPC-320 Specifications

Transcript
REMARK
Statement
SYNTAX:
'any characters
PURPOSE:
To allow explanatory remarks to be inserted in a program or designate a line/label.
REMARKS:
This syntax is different from the REM used in other Basics. The ' format provides a more readable
remark. The old REMARK syntax,
10 REM test comments
10 'test comments
is not allowed.
is required.
Remark statements are not executed but are output exactly as entered when the program is listed.
Remarks are skipped over during execution. Thus, if memory allows, you may leave all your
remarks in your final application software with no sacrifice in speed. The extra memory required is
usually insignificant compared to the additional clarity achieved with the addition of remarks.
If you put a remark on a line with other CAMBASIC statements, the remark must be the last
statement on the line and be preceded with a colon. Any statements following the remark are
ignored.
This format may be used to designate line/labels. The maximum length is 159 characters.
EXAMPLE:
120
130
140
150
ERROR:
none
'calculate average velocity
FOR I = 1 TO 20
S = S + V(I)
A = 0 : 'initialize A
Commands - 96