Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Max Length on character variable 255?!?!
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00291648
Message ID:
00291703
Vues:
27
>Hi Roxanne,
>
>Literals are limited to 255 characters in VFP. You have to use "part1"+"part2" and so on to built longer strings. The string itself can be up to a little less than 16 MB, a command line can have 8 KB compiled code.
>
>Christof

Christof,

Why was the length of a character variable changed from 2GB to 16MB between VFP5 & 6? In fact in VFP6/SP3, I can read a file into a character variable using FILETOSTR and be larger than 16MB. So why does the 16MB limit exist if it can be exceeded, or is this just a recommendation for an upper limit? It does seem to flog the disk when you go over the 16MB size.
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