UBI EasyCoder 201 IISA Manuel d'instructions Page 71

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 181
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 70
1 2 ... 66 67 68 69 70 71 72 73 74 75 76 ... 180 181

Commentaires sur ces manuels

Pas de commentaire