FATS - Fast Access Tree System
Table of Contents
List of Commands
"U" Get # Of Deleted Records

"U" Get # Of Deleted Records


Command string:

CMND$ = "U\{FileNo}"

FileNo File number

Purpose:

Returns the number of deleted records in the data file.

Description:

The record numbers of deleted data records are taken up by FATS with the command  Delete Record (D) to a list of the data records that already have been deleted, so that the command  Insert Record (I) can possibly reuse these, before the data file must be extended.

This command returns the actual amount of entries in this list.

Parameters returned:

ERRORCODE:Errorcode or 0 (no error)
RECNO:The number of deleted records
FATSKEY:Undefined

Example:

CMND$ = "U\1"

See also:

 "H" Get # Of Primary Keys; page 4-36
 "M" Get Key Length; page 4-48
 "T" Get # Of Records; page 4-77


 

© 2008  GCS Software, Udo Gertz