Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FGETS to go backwards
Message
From
30/07/2003 15:59:53
Gerry Schmitz
GHS Automation Inc.
Calgary, Alberta, Canada
 
 
To
30/07/2003 15:49:46
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00815089
Message ID:
00815094
Views:
13
How big a file ?

I often read an entire text file into an array and do my processing in there.

>Is there a way to make FGETS go backwards? I created my own function call FBACKS which uses FREAD with a negitive 1 until I hit a chr(13) or chr(10) but wanted to know if there is a better way. I basicly want to read from the file bottom to top NOT top to bottom as most low level files assumes.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform