Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing parameters
Message
De
21/05/2009 16:53:40
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Passing parameters
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01401445
Message ID:
01401445
Vues:
126
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform