Other BASICODE overviews:
Content of this page:
General rules
- BASICODE has a standard
method of putting programs on a tape
(frequency and ASCII codes)
- BASICODE variables names are maximum two characters long. The
first character has to be a capital letter and the optional second
letter can be a number or a capital letter.
- All variables beginning with O
are reserved for use inside
the BASICODE Translator.
- BASICODE-2 reserved variable names are: A, AT, CN, CT, FN,
FR,
HO, IF, IN$, RV, SR, SR$, and VE
BY can't be used when incorporating BB4W (did not exists when
BASICODE was developed) in list of BASICODE capable systems
- String have a maximum length of 255 characters.
- A BASICODE line is maximum 60 characters (also the DEF FN
command).
- BASICODE screens is preferable 40 chapters wide (but can be
smaller like 25 characters)
- (HO,VE) = (0,0) is top left corner of text screen
Allowed BASICODE-2 commands
The following commands are allowed:
PRINT, INPUT, GOTO, GOSUB, RETURN, LET, FOR...TO...STEP, NEXT, IF..THEN
(no
ELSE), ON...GOTO, ON...GOSUB, RUN, STOP, END, DIM, READ, DATA, RESTORE,
REM. No DEF FN (or DEFFN).
Allowed BASICODE functions
The following functions are allowed:
TAB, ABS, SGN, INT, SQR, SIN, COS, TAN, ATN,
EXP, LOG (natural logarithm), ASC, VAL, LEN, CHR$, LEFT$, MID$, RIGHT$.
Allowed BASICODE operators
The following operators were allowed:
AND, OR, NOT, + (also with strings), -, *, /, ^ (exponent), <,
=,
>,
<=, <>, >=