General information
Category:
Coding, syntax & commands
>
>I don't understand how I'm recieving the entire array without the @, and having UDFPARMS set to VALUE, but it works. The problem is, whenever I compile my .exe I get the following error:
>
From the Hackers Guide to 6.0... Highly recomended:
Parameters to a procedure are passed by reference, except in three cases. The first is if the actual parameter is an expression rather than a variable or field. The second is if you put parentheses around the actual parameter (which, in effect, turns the item into an expression). Finally, properties are always passed by value rather than by reference. When variables are passed by reference, they must exist before the DO. See "Xbase Xplained" for more on parameter passing.
UDFPARMS is only when you call something as a function...
MyProgram( UDFPARM )
as opposed to you calling it as a procedure:
Do MyProgram with ProcParm
BOb
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only