xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

CFTSSet()

Defines a search string for subsequent CFTSNext() calls.

Syntax

CFTSSet( <nFileHandle>, <cSearch> ) --> nIndexEntry

Arguments

<nFileHandle>
This is the numeric file handle of the Full Text Search index file to find <cSearch> in. The file handle is returned from CFTSOpen() or CFTSCrea().
<cSearch>
This is a character string holding the search string for subsequent HS_Next() calls.

Return

The function returns numeric 1 whan the search string is successfully defined, or a negative number as error code.

Description

CFTSSet() is a synonym for function HS_Set(). Refer to HS_Set() for more information.

Info

See also:HS_Next()
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