Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Max length for parameter?
Message
De
08/03/1999 22:36:16
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00195365
Message ID:
00195431
Vues:
14
>What is the maximum length for a character string passed as a parameter? 256 characters?

As Ed said, the maximum length is the same as the max length for a string. BUT there seems to be a bug when passing parameters directly from Form properties:

THISFORM.MyProp = REPLICATE("E", 258)
DO FORM Form2 WITH THISFORM.MyProp

causes a error 1903 "String is too long to fit"

But

THISFORM.MyProp = REPLICATE("E", 258)
lcTmp = THISFORM.MyProp
DO FORM Form2 WITH lcTmp

Works just fine.
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform