>hi all,
>i know that its not the most important thing in the world but i was wondering what was the better/faster code to use when searching a table using a locate command (no index for seek), if eof() OR if found().
>Slán
>~M
FOUND(). Not only because of what others have said, but also because if the locate command is changed to include a "while", eof() will be inaccurate.
seek x
locate for y while x
if found()
endif