Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Max Length of a sting in VFP ?
Message
De
31/07/2001 11:41:35
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00537774
Message ID:
00537779
Vues:
11
>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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform