50

Even though the words are different length, they are spaced out evenly by the horizontal tabs.

Now add the following line to your program to set different horizontal tabs:

15LPRINT CHR$(27>;"D";CHR$(7);CHRS(14);CHRS(21);

(0)

(ESC)

 

is the

 

to begin

 

horizontal

tabs.

must

be

 

 

by characters

 

 

the

positions

 

you

want

tabs

set.

our

program

are

setting

in columns

 

14, and

The

final

 

 

ends

the

of

tabs.

fact,

any

 

that

is

greater

than

 

provious

one

stop

setting

 

This

means

you

must

 

all your

values

in

 

from

least

greatest,

or

 

won’t all

set.

 

 

 

 

 

 

 

 

 

 

 

When

 

run the

 

now

it

 

this:

 

The

are

now

together, but

 

evenly spaced.

reset

the

tabs, use

following

program:

 

CHR$(27)

;“eO”;CHR$(8)

 

 

 

This

 

sets the

tabs

to

eight col-

Table 4-7

Horizontal tab commands

Page 56
Image 56
Star Micronics NP-IO manual To begin