Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RETURN value from a METHOD?
Message
De
28/10/1999 22:27:17
Peter Brama
West Pointe Enterprises
Detroit, Michigan, États-Unis
 
 
À
28/10/1999 22:23:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00283548
Message ID:
00283559
Vues:
8
Yep it is cept I thought I had that - sort of....

In the Method....

RETURN 1
or
RETURN 0

In the call method
If thisform.mymethod
do this
else
do that
endif

That gave me an error about being a method, event or property.

Why?

>Hi Peter,
>
>>Is there a way to get a RETURN value from a METHOD?
>
>Yes, just put a RETURN < eExpression > in your method, then do:
>
>leReturn = Thisform.Method()
>
>Is this what you were asking?
Peter Brama
West Pointe Enterprises

VFP is getting easier but STILL alot to learn!!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform