Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get the len of the string which is more than 254
Message
 
 
À
26/04/2002 10:33:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00649589
Message ID:
00649598
Vues:
10
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--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform