Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing parameters
Message
 
 
À
21/05/2009 16:53:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01401445
Message ID:
01401449
Vues:
37
Please see message #1395851 and the whole thread.

>Hi All:
>
>Consider:
>
>
>*Program test.prg
>
>SET UDFPARMS TO VALUE
>
>cc = '00'
>
>DO test2 WITH cc
>
>? cc   &&Displays '11'!!!!
>
>return
>
>
>
>*program test2.prg
>PARAMETERS dd
>
>dd = '44'
>
>@ 1,1 get dd  &&user enters '11'
>
>READ
>
>
>
>Why is the value of cc in test.prg changed to '11'? I thought that when UDFPARMS is set to VALUE, the value is not changed?
>
>Thanks,
>
>Yossi
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform