Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Memory variable limit
Message
De
12/06/2011 15:54:35
 
 
À
12/06/2011 14:56:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01514175
Message ID:
01514180
Vues:
83
>I can't define a memory variable to be more than 255 (or perhaps 254) characters. Yet the docs say that the limit is 16,777,184 chars.
>What am I missing here? Thanks.

From HELP:
Maximum length of a string literal - 255
but you can assign more that that if you use:
x1 = REPLCAITE("X",255)
x1 = x1 + REPLCAITE("Y",255)
x1 = x1 + REPLCAITE("Z",255)
? x1
or even:
TEXT TO lcVeryLongText NOSHOW TEXTMERGE
     <<REPLICATE("X",8000)>>
ENDTEXT
? lcVeryLongText
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform