Syntax
Description
Comments in ARMbasic can follow a single quote
character. All text after the single quote to the end of the line is
ignorred by the compiler.
Example
AB = "this is a
string" ' double
quotes are for strings, including single character strings
x = x +
1
' this is a comment for the instruction to increment
x
' this entire line is a comment
Differences from other BASICs
- none from PBASIC
- most early BASICs used the REM statement, which ARMbasic
does not support
See also