i'm having a hard time trying to figure out how i can check the return code on a route, below are some examples of what i've tried.
route(20); if ($rc == 1) { exit; }
and
if (route(20) == 1) { exit; }
both generate a "parse error (1469,15-17): syntax error" on startup
tavis
Hi Tavis,
try
route(20); if (retcode==1) { } #or if ($?==1) { }
regards, bogdan
Tavis P wrote:
i'm having a hard time trying to figure out how i can check the return code on a route, below are some examples of what i've tried.
route(20); if ($rc == 1) { exit; }
and
if (route(20) == 1) { exit; }
both generate a "parse error (1469,15-17): syntax error" on startup
tavis
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users