Feature Requests item #1901736, was opened at 2008-02-25 14:36 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=743023&aid=1901736&group_id=139143
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: core Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: return statement should accept pv argument Initial Comment: return statement should accept pv argument. below is an example of a problem that this feature would solve. -- juha > it should be possible to write this: > > route[1] { > route(2); > return($retcode); > } > > instead of this: > > route[1] { > route(2); > switch($retcode) { > case 1: > return(1); > case 2: > return(2); > default: > return(-1); > } > } > ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=743023&aid=1901736&group_id=139143 _______________________________________________ Devel mailing list Devel@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/devel