FATS - Fast Access Tree System
Table of Contents
List of Commands
"F" Search First

"F" Search First


Command string:

CMND$ = "F\{KeyNo}\{FileNo}"

KeyNoKey number
FileNo File number

Purpose:

Gets the key value and record number of the data record with the first key value.

Description:

This command enables your application to retrieve the record number corresponding to the first key value for the specified key number.

Parameters returned:

ERRORCODE:Errorcode or 0 (no error)
RECNO:Record number
FATSKEY:Key value (or KEYADR=address of key)

Example:

CMND$ = "F\1\1"

 BASIC Example
 Pascal Example
 C Example

See also:

 "L" Search Last; page 4-46


 

© 2008  GCS Software, Udo Gertz