There are two methods of commenting AcroBASIC program code:
Stored Comments
“REM” means remark
Stored as a line in the program
DSP “wastes” time processing the REM’s
Needs enough memory to store code
Can be on same line as ACR command lines
Can be uploaded later from the controller
Use a colon between AcroBASIC commands and comment with spaces around colon.
Stripped Comments
Apostrophe character ( ‘ )
Stripped on download by the ACR controller
MUST be on its own separate line in programs
The comments are missing from the code when uploaded
STORED EXAMPLE:
PLS0 ROTARY 2000 : REM pattern repeats every 2000 SRC cnts
STRIPPED EXAMPLE:
'pattern repeats every 2000 SRC cnts
PLS0 ROTARY 2000
Add Comment