Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to find out if parameter was passed by ref
Message
 
À
24/04/2002 10:51:36
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00648668
Message ID:
00648716
Vues:
21
>You could pass an additional parameter from one method to another, to indicate whether the other parameters were passed by reference or by value. If you need to do this with several parameters, you can pass a string: "0010" ("third parameter was passed by value - all others by reference"). Default this to "reference" for all if no fifth parameter was passed - this seems to be safest.

Thanks Hilmar, this might be way, but for my specific problem, I think my workaround is the better one, since the caller can can pass anything he likes and it still works. Please see my reply to Gerald regarding more details on what I'm doing.

Thanks,
Armin

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform