Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing an array
Message
De
21/07/2000 06:52:12
 
 
À
21/07/2000 05:11:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00395256
Message ID:
00395287
Vues:
13
>It is not neccesary.
>
>You can use the @ character before the parameter you pass.
>

This notation -only- works in a function call; it's not usable from a DO statement. By default DO passes everything by reference unless it's overridden with the SET UDFPARMS call; to pass a variable by value in a DO without changing UDFPARMS, enclose it in () to pass the value rather than the variable itself.

>This is a much better way of doing it since using the SET UDFPARAM command is inherently dangerous.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform