Denso BHT-200QW Spécifications Page 339

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 587
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 338
Chapter 15. Function Reference
331
____________________________________________________________________
LOcation Counter of file File I/O function
LOC
Returns the current position within a specified file.
____________________________________________________________________
Syntax:
Syntax:Syntax:
Syntax:
LOC([#]filenumber)
Parameter:
Parameter:Parameter:
Parameter:
filenumber
A numeric expression which returns a value from 1 to 16.
Description:
Description:Description:
Description:
LOC returns the current position within a file (a data file, communications device file, or bar
code device file) specified by filenumber.
Depending upon the file type, the content of the returned value differs as listed below.
File type Returned value
Data file Record number following the number of the
last record read by a GET statement
Communications device file Number of characters contained in the
receive buffer
(0 if no data is present in the receive buffer.)
Bar code device file Number of characters contained in the
bar-code buffer*
(0 if the BHT is waiting for bar code reading.)
* The size of the barcode buffer is 99 bytes for bar codes.
• If LOC is used before execution of the first GET statement after a data file is opened, it
returns 1 or 0 when the data file has any or no data, respectively.
Vue de la page 338
1 2 ... 334 335 336 337 338 339 340 341 342 343 344 ... 586 587

Commentaires sur ces manuels

Pas de commentaire