Difference between revisions of "DBF ISBOF()"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision) |
Yvonne.milne (Talk | contribs) m (Text replace - "lianjaapi.h" to "lianja_api.h") |
||
| Line 7: | Line 7: | ||
==SYNOPSIS== | ==SYNOPSIS== | ||
<code lang="c"> | <code lang="c"> | ||
| − | #include " | + | #include "lianja_api.h" |
int DBF_ISBOF() | int DBF_ISBOF() | ||
| Line 25: | Line 25: | ||
<code lang="c"> | <code lang="c"> | ||
| − | #include " | + | #include "lianja_api.h" |
lianjaapi_dbf_isbof() | lianjaapi_dbf_isbof() | ||
Latest revision as of 05:56, 11 April 2013
PURPOSE
Is record pointer at beginning of file.
SYNONYM
api_dbf_isbof()
SYNOPSIS
#include "lianja_api.h" int DBF_ISBOF() <input parameters> none <output parameters> none
DESCRIPTION
The DBF_ISBOF() function will return 1 if the record pointer is positioned past the first logical record of the currently selected table. If not, 0 is returned or -1 if there is an error.
EXAMPLE
The following example returns the current position of the record pointer.
#include "lianja_api.h" lianjaapi_dbf_isbof() { if (DBF_ISBOF()) { _retc( "BOF" ); } else if (DBF_ISEOF()) { _retc( "EOF" ); } else { _retc( "INF" ); } }
SEE ALSO
DBF_FETCH(), DBF_GOTO(), DBF_ISEOF(), DBF_LOCKR(), DBF_RECCOUNT(), DBF_RECNO(), DBF_SEEK(), DBF_SELECT(), DBF_SKIP(), DBF_UNLOCKR()