Other BASICODE overviews:
Content of this page:
- 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-3 reserved variable names are: A, AS, AT, CN, CT, FN,
HO, GR, IF, IN,
IN$, LN, NF, NF$, PI, RV, SD, SP, SR, SR$, ST, TI, TO, SV, VE and VG.
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
- A BASICODE line is maximum 60 characters (also the DEF FN
- BASICODE-3's initialization (after GOTO 20) sets HO and VE to the
screen size of the text window (HO = number of characters per line
minus one; VE = number of lines minus one).
- BASICODE-3 program should end with GOTO 950
- BASICODE screens is preferable at least 40 chapters wide
- Graphics proportions are horizontal : vertical = 4 : 3 .
- (HO,VE) = (0,0) is top left corner of graphical and text screen
Allowed BASICODE-3 commands
The following commands are allowed:
PRINT, INPUT, LET, GOTO, GOSUB, RETURN, FOR...TO...STEP, NEXT,
ELSE), ON...GOTO, ON...GOSUB, DIM, READ, DATA, RESTORE,
DEF FN (or DEFFN) is allowed (only one variable, no
recursion, only arithmetic and logical expressions). Remember this
command was not part of the BASICODE-3 definition of 1986 (only in the 2nd print of the standard
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), <,
<=, <>, >=