Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning a value
Message
De
10/12/1997 11:18:44
Jay Shepherd
Construction DataFax, Inc.
Montevallo, Alabama, États-Unis
 
 
À
10/12/1997 10:41:45
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00064986
Message ID:
00065009
Vues:
54
>From a method, what is the correct syntax to return a value?

In VB, a function return value is stored in a variable that is the same name as the function:

Function SquareIt(x as Integer) as Integer
SquareIt = x * x
End Function
Jay Shepherd
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform