Hi -

I have a Macro that contains a GoTo.  The documentation indicates:

If you GoTo out of the Macro context, the Macro will terminate and control
will return at the location refered to by the Goto.

I thought I might convert the Macro to a GoSub routine, but the
documentation doesn't mention what happens if you GoTo out.  It does however
mention that the return address gets pushed onto the stack, so I'm a little
concerned about the state of the stack if I simply GoTo out.  Should I call
StackPop first?

Thanks!
Hugh
-- 
_____________________________________________________________________
-- 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

Reply via email to