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.comICQ #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.