@ViewPos
Syntax
@ViewPos(FNPOSLIST);
@ViewPos(FNPOSLIST;FNMATCHES);
@ViewPos(FNPOSLIST;FNMATCHES;FNMINLEVEL);
@ViewPos(FNPOSLIST;FNMATCHES;FNMINLEVEL;FNMAXLEVEL);
Description
Returns the information for the VIEWPOS VIEWPOS .
The return value of the @Function returns the number of documents found, for example by the @Function @FindDocumentsByKey.
The optional parameter FNLIST FNPOSLIST returns the list containing the position data. This is a pointer to a document in a view.
The optional parameter FN FNMINLEVEL returns the minimum level.
The optional parameter FN FNMAXLEVEL returns the maximum level.
In case of an error, the @Function returns @Error.
Example: @ViewPos(FNPOSLIST;FNMATCHES)
VIEWPOS:=@ViewPos(1:1);
Hits:=@GetViewPosInfo(VIEWPOS;FNPOSLIST;FNMINLEVEL;FNMAXLEVEL);
In this example, 0 is returned for Hits, FNMINLEVEL, and FNMAXLEVEL respectively; these are the default values when a VIEWPOS is created by @ViewPos.
FNPOSLIST returns the list 1:1; this list was passed when it was created by @ViewPos.
Note : This text was machine-translated and may contain inaccuracies.
