Specifications

Preface - 1
HOW TO USE THIS MANUAL
This manual contains information on CAMBASIC and its commands. You will find that some information is duplicated in
this manual. This is done on purpose, as you will probably want to skip over some sections to read those of immediate
interest. We have included caution and warning notes that are designed to steer you away from potential trouble areas.
Symbols And Terminology
Throughout this manual, the following symbols and terminology are used:
& A prefix “&” denotes a hexadecimal number. A decimal number has no prefix.
For example, &1000 and 4096 are equivalent.
@ A prefix “@” denotes a binary number. Only numbers from 0–255 or @00000000
to @11111111 can be represented. @10101010=170.
< > Characters within “< >” indicate a single keystroke.
NOTE: Information under this heading presents helpful tips for using CAMBASIC.
CAUTION: Information under this heading shows you how to avoid potential problems.
WARNING: Information under this heading warns you of situations which might cause
catastrophic or irreversible program damage.
>_ This symbol indicates the prompt (>) and the cursor position (_).
. A column of periods is used in program examples
. to indicate that a portion of the program is omitted.
.
% This symbol indicates special variables.
address Indicates any address from &0000 to &FFFF or 0 to 65535.
n, m Lower–case letters, a thru z, are used to represent quantities or expressions. They
are not CAMBASIC variables.
segment Refers to a 64K block of memory.
string When used as part of a function or command, string may be a variable or text
enclosed in quotes.
[ ] Brackets indicate that the item enclosed is optional.
( ) Means that parentheses are required.
bit Indicates the bit number from (0 to 7) of an I/O address.