Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
EOF() and BOF() - kinda..
Message
From
06/10/1998 16:58:59
Tim Hockin
Illinois State U - Residential Computing
Normal, Illinois, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
EOF() and BOF() - kinda..
Miscellaneous
Thread ID:
00144378
Message ID:
00144378
Views:
67
Is there an easier way to detect if the record pointer is at the first or last record than EOF and BOF (which require I SKIP past them, causing problems).

there has to be something better that what I have - something like :

PROCEDURE myEOF
LOCAL llRet

IF .NOT. EOF()
SKIP
llRet = EOF()
SKIP -1
ELSE
llRet = .T.
ENDIF

RETURN llRet

Tim
Next
Reply
Map
View

Click here to load this message in the networking platform