[Gambas-user] How to return results and status from a function to the calling procedure??

gambas at ...1938... gambas at ...1938...
Mon Dec 8 15:38:59 CET 2008


Hi List,

stupid question.
What I wanted to do is
- call a function and check if all went OK (True/False)
- If True get the result and go on.
- If False do some error managemen

In principle it is an easy task, but:
- Using global vars is (citation): "Poor programming practise" ;-)  (no 
offense)
- Using ByRef is slower then copy the content

So, what's the best, cleanest or preferred way to do it in Gambas?

Greetz
Stevie







More information about the User mailing list