UBI EasyCoder 201 IIE Manual de Instruções Página 80

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 332
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 79
Intermec Fingerprint v7.61 Programmers Reference Manual Ed. 778
Chapter 2 Program Instructions
ERR
Field of Application
Function returning the code number of an error that has occurred.
Syntax ERR
Remarks
The rmware is able to detect a number of error conditions. The errors are
represented by code numbers according to Chapter 7, Error Messages.
The ERR function enables the program to read the coded error number.
Thereby you may design your program to take proper action depending on
which type of error that may have occurred.
Example
In this example, the code number of the error decides the action to
be taken:
10 ON ERROR GOTO 1000
. . . . .
. . . . .
100 PRTXT "HELLO"
110 PRINTFEED
120 END
. . . . .
. . . . .
. . . . .
1000 IF ERR=1005 THEN PRINT "OUT OF PAPER"
1010 RESUME NEXT
You can also check the number of the last error since power up:
PRINT ERR
yields for example:
1022
Vista de página 79
1 2 ... 75 76 77 78 79 80 81 82 83 84 85 ... 331 332

Comentários a estes Manuais

Sem comentários