[asterisk-users] How to write a function with a return value in Asterisk
Jay R. Ashworth
jra at baylink.com
Wed Aug 8 12:17:24 CDT 2007
On Wed, Aug 08, 2007 at 11:34:49AM -0400, Andrew Kohlsmith wrote:
> On Wednesday 08 August 2007 11:24:45 am Mike wrote:
> > Is it possible to write a function in Asterisk, that returns a value? Sort
> > of like any programming language allows?
>
> Digium has taken the stance that it's better to set arbitrary variable names
> to arbitrary values rather than allow what many would consider the perfectly
> accepted method of using a $? type of return code in addition to any
> application-specific variables.
Digium has taken the stance that Structured Programming is a Bad Idea?
Cheers,
-- jra
--
Jay R. Ashworth Baylink jra at baylink.com
Designer The Things I Think RFC 2100
Ashworth & Associates http://baylink.pitas.com '87 e24
St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274
More information about the asterisk-users
mailing list