Denso BHT-200QW Especificações Página 324

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 587
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 323
316
____________________________________________________________________
End Of File File I/O function
EOF
Tests whether the end of a device I/O file has been reached.
____________________________________________________________________
Syntax:
Syntax:Syntax:
Syntax:
EOF([#]filenumber)
Par
ParPar
Parameter:
ameter:ameter:
ameter:
filenumber
A numeric expression which returns a value from 1 to 16.
Description:
Description:Description:
Description:
EOF tests for an end of a device I/O file designated by filenumber. Then it returns -1
(true) if no data remains; it returns 0 (false) if any data remains, as listed below.
File Type
Returned
Value
End-of-file Condition
Communications device file -1 (true) No data remains in the receive buffer.
0 (false) Any data remains in the receive buffer.
Barcode device file -1 (true) No data remains in the barcode buffer
0 (false) Any data remains in the barcode buffer.
filenumber should be the file number of an opened device file.
• The EOF function cannot be used for data files. Specifying a data file number for
filenumber causes a run-time error.
Run
RunRun
Run-
--
-time errors:
time errors:time errors:
time errors:
Error code Meaning
34h
Bad file name or number
(You specified filenumber of an unopened file.)
36h
Improper file type
(You specified filenumber of a data file.)
3Ah
File number out of the range
Reference:
Reference:Reference:
Reference:
Statements: INPUT#, LINE INPUT#, OPEN "BAR:", and OPEN "COM:"
Functions: INPUT$, LOC, and LOF
Vista de página 323
1 2 ... 319 320 321 322 323 324 325 326 327 328 329 ... 586 587

Comentários a estes Manuais

Sem comentários