Difference between revisions of "BOF()"

From Recital Documentation Wiki
Jump to: navigation, search
 
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
==Class==
 
Fields and Records
 
 
 
 
==Purpose==
 
==Purpose==
 
Function to check if the record pointer is at the beginning of file
 
Function to check if the record pointer is at the beginning of file
Line 31: Line 27:
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital Server, Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Category:Table Basics]]
 +
[[Category:Table Basics Functions]]

Latest revision as of 16:20, 15 December 2009

Purpose

Function to check if the record pointer is at the beginning of file


Syntax

BOF([<workarea | alias>])


See Also

ALIAS(), DBF(), EOF(), FOUND(), GOTO, SELECT, SELECT(), SKIP, USE


Description

The BOF() function returns .T. if an attempt is made to skip the record pointer before the first logical record of the currently selected table. If the optional <workarea | alias> is specified, then the function will operate in the required location.


Example

use orders
? bof()
.F.
skip -1
? bof()
.T.


Products

Recital Server, Recital