Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- RaSQL/B 6.1a for Clipper - <b>n_xeof()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
N_XEOF()
Determine if row pointer is beyond the end of current table

Syntax
N_XEOF()

RDD
Use EOF()

Returns
True if  program attempts to move the pointer beyond the end of the current 
view/table.

N_XEOF() also returns True if N_XSEEK() results in no records found, or if 
no table is open in the current area.

Remarks
Works similarly to the Clipper EOF() function. As in Clipper, the logical 
end of file is determined by the current index order.

When N_XEOF() is True, the contents of the record buffer are empty.

Example
* List all first names
N_XSELECT('patients')
DO WHILE .NOT. N_XEOF()
  ? N_XFETCH('first_name')
  N_XSKIP()
ENDDO


See Also: N_XBOF()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson