Difference between revisions of "DBF RECSIZE()"

From Lianjapedia
Jump to: navigation, search
 
m (Text replace - "lianjaapi.h" to "lianja_api.h")
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
 
==SYNOPSIS==
 
==SYNOPSIS==
 
<code lang="c">
 
<code lang="c">
#include "lianjaapi.h"
+
#include "lianja_api.h"
  
 
int DBF_RECSIZE()
 
int DBF_RECSIZE()
Line 25: Line 25:
  
 
<code lang="c">
 
<code lang="c">
#include "lianjaapi.h"
+
#include "lianja_api.h"
  
 
lianjaapi_dbf_recsize()
 
lianjaapi_dbf_recsize()

Latest revision as of 07:03, 11 April 2013

PURPOSE

Return the record size

SYNONYM

api_dbf_recsize()

SYNOPSIS

#include "lianja_api.h"
 
int	DBF_RECSIZE()
 
<input parameters>
none
 
<output parameters>
none

DESCRIPTION

The DBF_RECSIZE() function will return the length of the record size in the currently selected table. The size will be the sum of all the field storage sizes plus 1 character for the deletion marker in the record.

EXAMPLE

The following example returns the record size.

#include "lianja_api.h"
 
lianjaapi_dbf_recsize()
{
    int	size;
 
    size = DBF_RECSIZE();
 
    _retni( size );
}

SEE ALSO

DBF_GOTO(), DBF_ISBOF(), DBF_ISEOF(), DBF_RECCOUNT(), DBF_RECNO(), DBF_SEEK(), DBF_SKIP(), FIELD_COUNT(), MEMO_MLCOUNT()