Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sending a parameter to a method
Message
De
19/07/2001 17:12:54
 
 
À
19/07/2001 17:07:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00532865
Message ID:
00532868
Vues:
16
>Is it possible to send a parameter to a method? What is the syntax of the calling command?

Sure.
luReturnValueFromMethod = ObjectName.CustomMethodName(Param1, Param2, ...)

* CustomMethodName:
LPARAMETERS ;
  tuParam1, ;
  tuParam2, ;
  ...

* do stuff here

RETURN luSomeReturnValue
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform