Argox PA-20 Programming Guide Manuale Utente Pagina 66

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 130
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 65
PT-20 Programming Guide
64
Returns
When char * buffer = NULL, functions will pass the data size back. Read
defeat: Pass back - 1.
When char * buffer ≠ NULL. Read succeed: Pass 1 back; Read defeat:
Pass back - 1.
ReadRecord
Purpose
Use this function to read the data of appointed record.
Syntax
int ReadRecord(_DBMS* F_Search, int recordno, char* buffer);
Example call
char str_buffer[30];
ReadRecord (&fsearch,5,str_buffer);//Reading the data of sixth record,
and store to “str_buffer”.
Includes
#include “DBMS.h”
Description
int recordno : Read of record position
char* buffer : Read the storing space of field
Returns
When char * buffer = NULL, functions will pass materials size back. Read
defeat. Pass back - 1.
When char * buffer does not equal NULL. Read succeed. Passing 1 back;
Read defeat. Pass back - 1.
Vedere la pagina 65
1 2 ... 61 62 63 64 65 66 67 68 69 70 71 ... 129 130

Commenti su questo manuale

Nessun commento