xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

CFTSAdd()

Adds a text string entry to a Full Text Search index file.

Syntax

CFTSAdd( <nFileHandle>, <bText> ) --> nIndexEntry

Arguments

<nFileHandle>
This is the numeric file handle of the Full Text Search index file to add a new entry to. The file handle is returned from CFTSOpen() or CFTSCrea().
<bText>
The second parameter is a code block which returns the character string to add to the Full Text Search index file.

Return

The function returns a numeric value. Positive values identify the ordinal number of the new index entry, while negative numbers are error codes.

Description

CFTSAdd() is a synonym for function HS_Add(). Refer to HS_Add() for more information.

Info

See also:HS_Delete(), HS_Replace()
Category: CFTS functions
Source:rdd\hsx\cftsfunc.c
LIB:lib\xhb.lib
DLL:dll\xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe