Share your opinion
WIDGETS GAMBAS
GAMBAS 3 SOFTWARES
TUTORIALS
Library
|
FUINCTION - FUNCTION Method
FUNCTION method
Maybe you know how to use gambas procedure like this : Private Sub myprocedure() End Maybe you know too than procedure could be PUBLIC (seen by all form) or PRIVATE (visible just by one form) But you need to know SUB procedure mustn't return value. Use in replacement FUNCTION like this : Private Function myprocedure() as string dim toto as string Return toto End It's not me who say that but it's official documentation HERE Thanks for your attention. Creation date : 24/02/2022 @ 16:11 Reactions to this article
| QUICK MENU
SEARCH
LANGUAGE
COMPONENTS
Other
LANGUAGE
Where, who?
VISITS
visitors visitors online ARCHIVES GAMBAS 1/2
|