Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Low level file functions to get the number of lines
Message
From
22/07/1997 18:18:17
 
 
To
22/07/1997 16:58:53
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00041205
Message ID:
00041225
Views:
34
The fastest method is to count the number of characters. If you count the number of lines you always have to read the file twice. nFileLength=fseek(nFileHandle, 0, 2) =fseek(nFileHandle, 0, 0) && go top Winfried
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform