Activation of Characters SO
SI
Data Structure ASCII SO [B] ZG single shift SS2 ➊
hex. 8E
dec. 142
ASCII SI [B] ZG single shift SS3
➋
hex. 8F
dec. 143
Description
➊ Activation of one single character from G2 (“single shift 2”).
➋ Activation of one single character from G3 (“single shift 3”).
The functions SO and SI each activate one single character of the graphic character set
into the codes 21 - 7E.
The character following the code for the changeover is replaced once.
The graphic character set activated by the locking shift function (page 81, “Activation of
Character Sets”) will not be changed with this function.
Example 10 open "lpt1:" as #1
20 width #1,32000
30 ’Example "Single Shift"
40 t1$=" French a accent is printed"
50 t2$=" funny a is printed"
60 print #1,chr$(27),"+R" ’Designate G3 <— French Substitution
70 ’Table
80 print #1,chr$(143); ’Single Shift 3
90 print #1,"@",t1$ ’Transfer And Print:
100 ’Code 40hex (French substitute)
110 print #1,"@",t2$ ’Transfer And Print:
120 ’Code 40hex (default character)
130 end
86 Miscellaneous