
Chapter 7. I/O Facilities
117
[ 4 ] Displaying a character string on a function touch key
You may display a desired character string on a function touch key by using the extended func-
tion
"CONSOLE.FN3"
. In the sample below, the character string "ABC" will display on the
function touch key numbered 1 in ANK standard-size font in regular character size.
KEYNO% = 1
DSPDATA$ = "ABC"
FONT% = .cnANK
ATTRIB%=.cnW1H1
CALL "CONSOLE.FN3" .fcFKeyDsp KEYNO%,DSPDATA$,FONT%,ATTRIB%
- Character strings are assigned to function touch keys as shown below by default.
- The length of a character string that can display on a function touch key is listed below. If
your specification exceeds this length, the excess will be discarded.
Screen mode and screen font
Character enlargement
Allowable
length of a
character string
Standard-size font in ANK mode
Regular-size/double-height
3
Double-width/quadruple-size
1
Standard-size font
in Kanji mode
Full-width
Regular-size/double-height
2
Double-width/quadruple-size
1
Half-width
Regular-size/double-height
5
Double-width/quadruple-size
2
Small-size font
in Kanji mode
Full-width
Regular-size/double-height
3
Double-width/quadruple-size
1
Half-width
Regular-size/double-height
6
Double-width/quadruple-size
3
ABC
F2
F3
F4
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
F13
F14
F15
F16
Non-shift mode
Shift mode
Содержание BHT-BASIC 100 SERIES
Страница 1: ......
Страница 161: ...153 Chapter 10 Sleep Function CONTENTS 10 1 Sleep Function 154...
Страница 163: ...155 Chapter 11 Resume Function CONTENTS 11 1 Resume Function 156...
Страница 173: ...165 Chapter 13 Backlight Function CONTENTS 13 1 Backlight Function 166...
Страница 192: ...Chapter 14 Statement Reference 184 Example OPEN master Dat AS 1 FIELD 1 20 AS bar 10 AS ky CLFILE 1 CLOSE 1...
Страница 249: ...241 Example CLOSE IF kyIn Y THEN KILL Master Dat END IF Reference Statements CLFILE...
Страница 349: ...341 Run time errors Error code Meaning 05h Parameter out of the range checktype is out of the range...
Страница 383: ...375 Run time errors Reference Error code Meaning 05h Parameter out of the range Functions LEFT LEN and RIGHT...