Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Max Length of a sting in VFP ?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00537774
Message ID:
00537789
Views:
15
Hi!

Certain functions have the limitation. In general, VFP string could be 2GB long, if RAM will allow this ;) Personally, I managed to create the 40MB string on my machine with 64 MB RAM> After the 10 minutes of intensive HDD heating up I stopped to increase its size ;)

HTH.

>Hi Guys,
>
>Do you know what's the maximum length of a string in Fox ?
>
>I Tried
>
>x = replicate("a",20*1024*1024) && 20 Meg...
>
>it always returns me (String to long to fit...)
>
>Do you think that it's a memory limitation ?
>
>Thank's in advance for your help
>Rock
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform