Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing Array by Reference to anoher Form
Message
 
 
À
18/07/2006 22:59:44
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01137472
Message ID:
01137479
Vues:
17
The DO/DO FORM commands pass parameters by reference unless they are enclosed in parenthesis.

>By default, parameters are passed by value, not by reference. Use the "@" symbol to pass by reference.
>
>If laFiles is your array:
>
>
>DO FORM gc_sendmail WITH lcNameFileToPrint, .txtCodigo.Value, 1, @laFiles
>
>
>See also SET UDFPARMS - but I suggest not to change it; passing by value is safer as a default, so better only pass by reference when you really need it.
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform