[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
USAGE
signed int scdckdel(
signed int handle,
void *key,
signed long recno );
PROTOTYPE IN
sc_base.h
DESCRIPTION
scdckdel will remove key from the index file specified by
handle. recno is used along with key to ensure that the
proper key has been removed from the index file.
NOTES
When deleting keys it is not necessary to pad the key string to size with
spaces (" "), the function will automatically do this for you.
EXAMPLE
#include <string.h>
#include <softc.h>
#include <sc_base.h>
void main()
{
int ntx;
char date[17];
scdinit(20,0);
if (scdcopenx(&ntx, "TOCDATE.NTX", SC_BUFFER) == SC_SUCCESS) {
strcpy(date,"12/05/8815:30:04");
scdckdel(ntx,date,7L);
scdcclose(ntx);
}
scdterm();
}
See Also:
scdckadd
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson