[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
USAGE
signed int scddrdel(
signed int handle,
signed long recno );
PROTOTYPE IN
sc_base.h
DESCRIPTION
scddrdel will flag a record specified by recno as 'deleted'. To
maintain compatibility with dBASE the data record cannot be reused, but it
can be recovered by scddrundel.
EXAMPLE
#include <stdio.h>
#include <softc.h>
#include <sc_base.h>
void main()
{
int dbf;
scdinit(20,0);
if (scddopenx(&dbf,"TOC.DBF",0) == SC_SUCCESS) {
scddrdel(dbf,1L);
scddrget(dbf,1L);
puts(scemsg()); /* WARNING - record read is marked deleted */
scddclose(dbf);
}
scdterm();
}
See Also:
scddrundel
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson