Doug- Please fix your email client. One line per word in quoting is a little excessive. Better yet, turn off HTML.
On Wednesday 13 February 2008 12:17:30 Douglas Garstang wrote: > Is that nasty little problem of no local variables in macros fixed yet? > That's a pretty big pain in the ass. You have to prefix your variables with > the name of the macro it's in to avoid stepping all over yourself. Macros are deprecated. Gosubs are the way forward, and yes, they have local variables. Simply define them once as Set(LOCAL(foo)=bar) and foo will be gone when the innermost stack is removed (either by Return or StackPop). -- Tilghman _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
