Information générale
Catégorie:
Codage, syntaxe et commandes
>
>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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement