Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why are my local variables changed?
Message
De
01/09/1999 20:45:03
 
 
À
01/09/1999 19:20:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00260036
Message ID:
00260425
Vues:
18
Hi Erik,

>Check out the help for UDFPARMS...

Try this:
Var = 'Passed by Value'
do passcheck with Var
wait window Var

proc passcheck
    lparam tVar
    tVar = 'Passed by Reference'
endproc

Now Try

Var = 'Passed by Value'
do passcheck with (Var)
wait window Var

proc passcheck
    lparam tVar
    tVar = 'Passed by Reference'
endproc
Notice the only differnce is the DO line. Am I missing the point again?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform