EasyManua.ls Logo

Commodore MPS 1200 - Fixed Vtabs

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...
Fixed
Vtabs
BASIC
chr$(27)
"e"
chr$(1)
chr$(n)
(n
= 1
to
page
length)
Hex
1B
45
01
nh
(nh
=
01
h
to
page
length)
This
command
sets fixed vtabs at intervals
of
whatever
number
of
lines
you
like. Send the
MPS
1200
ESC
e chr$(1) followed by the
ASCII code for the vtab interval you
want
in lines, from 1 to the
page length in lines. For example, to set vtabs every 6 lines, send
the
command
chr$(27)
"e"
chr$(1) chr$(6).
Example:
1
,)
open
1
,4,
7
20
pt~int#l,
cht~$
(27)
"e"cht~$
(1)
;
cht~$
(3)
;
30
fot~
n=l
to
3
40
pt~int#1.,cht~~;(l1);"VTAB
#";n;"
at
line
";n*3
50
ne>:t
n
6'::'
pt~int#1,
chr$
(27)
"@"
70
close
1
VTAB
#1
at
line
3
VTAB
#2
at
line
6
VTAB
#3
at
line
9
5-10

Related product manuals