PSC FALCON 315 Uživatelská příručka Strana 83

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 138
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 82
Input Validation
PowerNet Twin Client User Guide < 6-5 >
Input Validation
Input validation is used to control the allowed data format for entered
characters. The sequence used for this function is:
<ESC>[!2;<mode>z.
The
mode parameter can be one of the following:
:
For example, to allow keyboard input of numeric characters only, the
following sequence would be used:
<ESC>[!1;3z<ESC>[!2;2z
(HEX equivalent: 1B 5B 21 31 3B 33 7A 27 5B 21
32 3B 32 7A)
To reset the terminal back to normal input, the following sequence is
used:
<ESC>[!1;0z<ESC>[!2;0z
(HEX equivalent: 1B 5B 21 31 3B 30 7A 27 5B 21
32 3B 30 7A)
Table 6-2
Input Validation
Mode Action
0 (default) Accept characters between 0x20 and 0x7F.
1
Accept alpha characters only.
2
Accept numeric characters only.
3
Accept alpha and numeric characters.
Zobrazit stránku 82
1 2 ... 78 79 80 81 82 83 84 85 86 87 88 ... 137 138

Komentáře k této Příručce

Žádné komentáře