From: Steve Murphy Date: Sun, 19 Nov 2006 04:12:39 +0000 (+0000) Subject: Added a few words of explanation about macros X-Git-Tag: 1.6.0-beta1~3^2~3906 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=322cb84896de2f15f5e2ee48ca1caf0907859388;p=thirdparty%2Fasterisk.git Added a few words of explanation about macros git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47835 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/doc/ael.txt b/doc/ael.txt index 01151f9a9c..0f6d6a65ab 100644 --- a/doc/ael.txt +++ b/doc/ael.txt @@ -102,7 +102,9 @@ extension, and a subroutine. It has arguments like a subroutine might. A macro call can be made within an extension, and the individual statements there are executed until it ends. At this point, execution returns to the next statement after the macro call. Macros -can call other macros. And they work just like function calls. +can call other macros. And they work just like function calls. In 1.2, +and 1.4, they are implemented underneath with the Macro() application. +In 1.6 and up, they are implemented with the Gosub() application. Applications ------------ @@ -981,7 +983,7 @@ Macros A macro is defined in its own block like this. The arguments to the macro are specified with the name of the macro. They are then referred -to by that same name. A catch block can be specified to catch special +to by that same name. A catch block can be specified to 'catch' special extensions.