Hello list,

can I conclude that it is better to use sub's in stead of macro's ?

I read the following in an Asterisk-book :

GoSub() works in a different manner from Macro(), though, in that it doesn't have the stack space requirements, so it nests effectively. Essentially, GoSub() acts like Goto() with a memory of where it came from.

Is it then not better to use a method that does not stack ?!


Kind regards,

Jonas.
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to