Star Micronics NX-1001 manual 2 0LPRINT0 CHR$ 27 “S” CHR$ O j

Models: NX-1001

1 130
Download 130 pages 3.26 Kb
Page 81
Image 81
20LPRINT0 CHR$ ( 27) ; “S”; CHR$ (O) j

!

Now,we calculatetheverticalnumericalvaluesof thecolumnsof dots,and enterthemunderneaththe grid.For example,lookingat Figure5-3, we see thatintheleft-mostcolumntherearefivedots,andtheyamsittinginthe“64” box,“32’’box,“16”box,“’8”box,and“4”box.Thusitsverticalvalueis 124. In the next column,there is no dot straddlingthe verticalline; its value is nxordcklas O.

You will see the lettemml, m2,ti, etc., are aboveyourvalues.Whenyou definethe character,you willsubstituteyourvaluefor eachof theseletters.

To demonstratehow to use the downloadcharactem,let’s use the “car” characterandsomeotheruser-definedcharactersto printasmallgraph.This programwill do just that:

20LPRINT0 CHR$ ( 27) ; “S”; CHR$ (O) j

2

1LPRINT0

C

(

;C ( );

2

2F

0 N

T

6

 

2

3F

0 M

T

1

 

2

4R

0 M

 

 

 

2

5L

0

C

(

;

26N 0 M

27N 0 N

28L 0

29DATA0 139, 2, 5, 8,241, 0

30D 0 0,241, 8, 5, 2, 0

3

1D

0

1

1

0 6

4

6

3

2D

0

3

1

2, 16, 12,

0

33DATA0 139, 46, 16, 2, 60, 0

3

4D

0

4

0

4

0, 48, 0

3

5L

0

C

(2

;“D

;C

[1 );C (O ) ;

3

6L

0

C

(2 );“

C

(1);

37L 0 “ U .S . E

3

8L

0

C

(2 );“

C

(O);

3

9L

0

C

(2

);“

;C

(1);

4

0L

0

‘A

 

;C

(9);

 

4

1F

0

I . T

9

S

.

 

4

2L

0

C

(6

);

 

 

43N 0 I

44L 0

7 2

P

P

P

P

PX

P P P

P

P

Page 81
Image 81
Star Micronics NX-1001 manual 2 0LPRINT0 CHR$ 27 “S” CHR$ O j