Argox PA-20 Programming Guide Instrukcja Użytkownika Strona 66

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 130
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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.
Przeglądanie stron 65
1 2 ... 61 62 63 64 65 66 67 68 69 70 71 ... 129 130

Komentarze do niniejszej Instrukcji

Brak uwag