[Devel] Return parameters from module functions
Stefan Prelle
s.prelle at broadnet.de
Thu Nov 30 17:57:54 CET 2006
Hi Bogdan,
Am Donnerstag, den 30.11.2006, 18:41 +0200 schrieb Bogdan-Andrei Iancu:
> Most probably the 1 value you got is from the IF evalution :). You may
> also try a simpler approach, by using the switch command:
> http://www.openser.org/dokuwiki/doku.php/core-cookbook:1.1.x#switch
This was indeed the problem. The simple solution
myFunction();
switch (retcode) {
case 10:
...
}
worked fine.
Thank you for your quick help.
Cheers,
Stefan
More information about the Devel
mailing list