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 21:31:35
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00041205
Message ID:
00041256
Views:
32
>>>if you use a number of byte instead of number of line may be you can get the file size and when you scan the file make a counter of byte read so you will able to make your thermometer...
>>
>>I'm not sure I understand what you mean.
>>
>>As for a thermometer, we need to have the number of loop before processing the first line.
>
>no just use the file size in byte for your reference of 100% and when you read your ascii file line by line evaluate the number of byte you already read . do it each time you read a line and make a sum of it and you will able to calculate the % ...
>
>hope this more clear if not i will try in french

Yes, this is what I've done. Thanks again.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform