u0065

u0065


u63 Index Level u7000
Syntax result - oconv( "", 'u0065' )
Category BASIC
Type User Exit
Description returns the estimated number of items in the most recently referenced file.

This user exit gives an immediate estimate of the number of items in the file.  This estimate is automatically updated by any simple ACCESS count or select which traverses the entire file, or by the file-save.  Normal inserts and deletes also update this estimate although complete accuracy is not assured since this update is not done under lock.

If the internal estimate has never been updated, then a -1 is returned.

To use this user exit, a file reference to the desired file must be accomplished first.  A dummy read will accomplish this.
Options
See Also user exits, FlashBASIC estimate-count
Example open "myfile"
.
.
read xx from "";* just reference file
print oconv("","u65")
Warnings
Compatibility D3 7.0
u63 Index Level u7000