[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
USAGE
signed int scddrnum(
signed int handle,
signed long *position );
PROTOTYPE IN
sc_base.h
DESCRIPTION
scddrnum returns the current position (record number) in the data file.
EXAMPLE
#include <stdio.h>
#include <softc.h>
#include <sc_base.h>
void main()
{
int dbf;
long position;
scdinit(20,0);
if (scddopenx(&dbf,"TOC.DBF",0) == SC_SUCCESS) {
scddrget(dbf,4L);
scddrnum(dbf,&position);
printf("%ld\n",position);
scddclose(dbf);
}
scdterm();
}
See Also:
scddbof
scddeof
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson