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-3C reserved variable names are: A, AS, AT, CC, CN, CT, FN,
FR, HG,
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 255 characters.
- A BASICODE line is maximum 60 characters (also the DEF FN
command).
- BASICODE-4'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-4 program should end with GOTO 950
- BASICODE screens is preferable at least 40 chapters wide
- Graphics proportions are horizontal : vertical = 4 : 3 .
- (VE,HO) = (0,0) is top left corner of graphical and text screen
Colours in BASICODE-4
The colour of the background colour is set with
CC(1). The forgroundcolour is set in CC(0). The colour values are
used
in almost
all text or graphic commands. You can set CC(0) and CC(1) at the
following way:
value |
colour |
0 |
black |
1 |
blue |
2 |
red |
3 |
violet |
4 |
green |
5 |
light blue |
6 |
yellow |
7 |
white |