Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get the len of the string which is more than 254
Message
 
 
To
26/04/2002 10:33:49
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00649589
Message ID:
00649598
Views:
9
If the file has less than 65000 records than you can use Filetostr() and ALINES(). Otherwise you have to use low-level file functions FOPEN(), FGET(), FREAD(), FCLOSE().


>Hello
>
>In my app i need to get the length of the line in a text file, to compare if the incoming data (text) file is of correct length, but the line of the file has 290 chars but len() returns only 254, i know its the limitation of foxpro, but is there any other way to determine the length of the text file.
>
>eg this is one record from the text file
>
>803524101121 1 52000A999999999I III 6 81942FB51847810305184781034161 DELAWARE AVE. WAPPINGERS FALLS NY125902719DB 30 3088820000 219000109510000 2190002190 219000109521 2A8888B 5888 147384ADY
>
>txs
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform