Navigation:  Reference > Functions >

BeginningOfFile()

Print this Topic Previous pageReturn to chapter overviewNext page

 

BOF(1)

 

PURPOSE

This function will determine whether or not the program has tried to read a record that is previous to the beginning of the file.

 

PARTS

 

1 f/c/eRequired - The number/handle of the file to be checked.

 

RETURN TYPE - L

If the file is at BOF the function will return .T.; otherwise it will return .F.

 

COMMENTS

When a file is first opened this function would return .FALSE.  However, if you tried to find a record using the P (previous) option when you first opened that file, and then checked this function it would return .TRUE.

 

SEE ALSO

EOF()

 

 


Page url: http://www.cassoftware.com/tas/manual/beginningoffile().htm