Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FileToStr() function
Message
De
27/08/2003 20:06:30
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00824014
Message ID:
00824021
Vues:
25
>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

I've read files much larger than 16MB into a character variable. But it was pretty slow with all the disk thrashing going on.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform