Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning a value
Message
De
10/12/1997 11:20:23
 
 
À
10/12/1997 11:18:44
Jay Shepherd
Construction DataFax, Inc.
Montevallo, Alabama, États-Unis
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00064986
Message ID:
00065011
Vues:
80
>>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

Thanks for the syntax, I searched the help but didn't find anything on it.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform