FATS - Fast Access Tree System
Table of Contents
List of Commands
"M" Get Key Length

"M" Get Key Length


Command string:

CMND$ = "M\{FileNo}[\{KeyNo}]"

FileNo File number
[KeyNo]Key number (optional)

Purpose:

Get the maximum key length.

Description:

This command returns the key length you specified in the  Create Indexfile (C) - command. If you omit the parameter "KeyNo", then the maximum key length will be returned.

Parameters returned:

ERRORCODE:Errorcode or 0 (no error)
RECNO:Maximum key length
FATSKEY:Undefined

Example:

CMND$ = "M\1"

See also:

 "H" Get # Of Primary Keys; page 4-36
 "T" Get # Of Records; page 4-77
 "U" Get # Of Deleted Records; page 4-77


 

© 2008  GCS Software, Udo Gertz