Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FileToStr() function
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00824014
Message ID:
00824020
Vues:
27
This message has been marked as the solution to the initial question of the thread.
Hi Dmitry,

According to VFP help "Maximum # of characters per character string or memory variable is 16,777,184 bytes". I think that that would be the limit for FileToStr().
If your tokens come in paires than you may use STREXTRACT().

>Is there a limit on the size of the file I can get into a char variable using function FileToStr()?
>
>I just tried a fairly large file (almost 200K text file) and it worked. But I was wondering if I might run out of some "limitation" if file is much bigger.
>
>Also, I have to parse the retrieved variable based on many different tokens in the text file. For example, the file may have tokens like $START TEXT$... some text.. $END TEXT$. $REQUESTOR.. Requestor name.. and so on.
>
>I can only think of function AT() to parse the string. Any other suggestions would be appreciated.
>
>TIA
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform