Page loading

Share your opinion
What do you think about gambaslinux.fr?
 
Interesting
It miss some informations
Excellent website
Results
WIDGETS GAMBAS
GAMBAS 3 SOFTWARES
TUTORIALS
Library
_gb3.pngFUINCTION - 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
Last update : 24/02/2022 @ 16:17
Category : FUINCTION
Page read 1610 times


Print the article Print the article


react.gifReactions to this article

Nobody gave a comment yet.
Be the first one to do it!


QUICK MENU
SEARCH




LANGUAGE
COMPONENTS
Other
LANGUAGE
Where, who?
VISITS

   visitors

   visitors online

ARCHIVES GAMBAS 1/2
^ Top ^