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


_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to