UBI EasyCoder 201 IISA Manuale delle Istruzioni Pagina 71

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 181
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 70
70
Intermec Fingerprint 6.13 – Programmer's Guide
7. INPUT TO FINGERPRINT, cont'd.
6. Input from Printer's
Keyboard, cont'd.
The printable characters actually generated by the respective ASCII
value depend on the selected character set (NASC) and possible
MAP statements, see chapter 9.1.
In case of INPUT# and LINE INPUT#, the input will not be
accepted until a carriage return (< Enter >) is issued.
This example demonstrates how the printable character and deci-
mal ASCII value of various keys on the printer's keyboard can be
printed to the screen of the host. You can break the program by
holding down the <C> key and pressing <Pause>.
10 PRINT "Character", "ASCII value"
20 OPEN "console:" FOR INPUT AS 1
30 A$=INPUT$(1,1)
40 B%=ASC(A$)
50 PRINT A$, B%
60 GOTO 30
70 CLOSE 1
RUN
Vedere la pagina 70
1 2 ... 66 67 68 69 70 71 72 73 74 75 76 ... 180 181

Commenti su questo manuale

Nessun commento