XBase.BOF
Syntax:
Returned value:
True indicates the pointer is located before the first record; False indicates the beginning of the file has not been reached.
Description:
Availability:
Example:
// Average value in the COST field xB.Last(); Cost = 0; RecCount = 0; While Not xB.BOF() Do Cost = Cost + xB.COST; RecCount = RecCount + 1; xB.Prev(); EndDo; If RecCount > 0 Then Cost = Cost / RecCount; EndIf; |