beautypg.com

Citizen Systems CBM-253 User Manual

Page 81

background image

CBM-253 User’s Manual

69

CITIZEN

ESC t n

[Name]

Selection of the character code table

[Code]

<1B>H <74>H

[Defined range]

0

n

1

[Function]

Selects page n of the character code tables. The character code table will be selected

according to the value of n.

n

Character code page

0

Page 0(IBM character #2)

[Initial value]

n = 0

[Reference]

See the character code tables.

[Program example]

[Printing result]

LPRINT CHR$(&H1B) + "t"+ CHR$(0) ;

LPRINT "n = 0" ;

FOR C=&HB1 T0 &HB5

LPRINT CHR$(C) ;

NEXT C

LPRINT CHR$ (&HA) ;

LPRINT CHR$(&H1B) + "t"+ CHR$(1) ;

LPRINT "n = 1 " ;

FOR C=&HB1 TO &HB5

LPRINT CHR$(C) ;

NEXT C

LPRINT CHR$ (&HA) ;