
Concepts - 3
Reserved Words
CAM BASIC comprises a set of statements, com mands and function names which are treated as reser ved words and cannot
be used at the beginning of variable names. These are sometimes r eferred to as keywords.
Character Set
The CAMBASIC character set includes all characters which are legal in CAMBASIC commands, statements, functions and
variables. The set comprises alphabetic, numeric and special character s.
Alphabetic characters are automatically converted to upper case unless they are part of a string and enclosed in quotation
marks, or are part of a rem ark. Numeric digits are 0 through 9.
Any character , w hether pr intable or not, m ay be used in a string. The following characters have special significa nce in
CAMBASIC:
Space or Blank
= Equals sign or assignment symbol
+ Plus sign for addition or string concatenation
– Minus sign for subtraction
*
Asterisk or multiplication symbol
/ Slash or division symbol
$ Caret, Control Key, or exponent
( Left par enthesis
) Right parenthesis
[ Left bracket
] Right bracket
% Percent or PRINT U SING overflow indicator
# Binary number prefix or logical unit declaration
$ Dollar sign or string declaration
, Comma and print separation symbol
. Period or decimal point
; Semicolon or carriage return suppressor
: Colon or program line statement delimiter
< Less than
> Greater than and system prom pt
& Ampersand or hexadecimal number prefix
@ Binary num ber pr efix
< BKSP> Backspace and erase the previous character
< ESC> Escape input mode or halt execution
\ Back slash and integer divider
< $C> Control C to break an INPUT statement
< $S> Control S is XON code
< $Q> Control Q is XOF F code
.. Two periods or label prefix
< ENTER> Carriage return
< SPC> Space
' Apostrophe or remark
Comentarios a estos manuales