Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing an array
Message
From
21/07/2000 06:52:12
 
 
To
21/07/2000 05:11:16
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00395256
Message ID:
00395287
Views:
12
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform