Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Max Length of a sting in VFP ?
Message
From
31/07/2001 11:41:35
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00537774
Message ID:
00537779
Views:
12
>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

Looks like it is limited to just under 16 MB. This is a VFP limitation; Windows can use Virtual Memory if RAM is not enough. That is, if you don't have enough RAM, Windows will use your hard disk, if you have enough free space.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform