EasyManua.ls Logo

Commodore MPS 1200 - Page 113

Commodore MPS 1200
250 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Variable
Vtabs
BASIC
chr$(27)
"8"
chr$(n1)
chr$(n2)
.......
chr$(O)
Hex
(n
= 1
to
255)
1 B
C2
n1
h
n2h
..........
00
(nh
=
01
h
to
FFh)
If
you
don't
want
fixed vertical tabs, you can set
up
to
16
vtabs at
any line
number
from
1 to 255 that you like using the variable vtab
command,
ESC
B.
To
use the
command,
send
ESC
B followed
by
the ASCII code for the line
number
of
each vtab position you want,
from
1
to
255. After the last tab position, send chr$(O) to end the
sequence. For example, chr$(27)
"B"
chr$(6) chr$(20) chr$(26)
chr$(O) sets vtabs at lines 6, 20 and 26.
The
line
numbers
for variable vtabs
must
be given in ascending
numerical order. A sequence such
as
chr$(6) chr$(26) chr$(20), for
example,
would
set tabs at line 6 and 26 only.
The
MPS 1200
interprets any code less
than
the previous one
as
the ending code for
the sequence. In this case, chr$(20)
would
be the ending code.
Using
the variable vtab
command
cancels any fixed
or
variable
vtabs that
were
previously set.
If
you
want
to
return
to fixed vtabs,
you
must
set
them
again
with
a fixed vtab
command.
Example:
1
(lOp
en
1 ,
4,
7
2('
pt'int#l,
chr$
(27)
IB"Cht'$
(6);
cht'$
(HI)
; r.::ht'$
(16);
cht'$
«(I)
3'"
fot'
n=l
to
3
4('
pt'int#l,
cht'$
(l:L)
;
"VTAB"
5('
ne>:t
n
6(1
pt'int#l:
pt'int:ltl,
cht'$
(27)
"@"
7(l
c 1
clse
1
5-11

Related product manuals