Page 1 of 1
Macro Nesting
Posted: Mon Jan 12, 2004 2:29 pm
by poet99
I have done research on a few terms that I saw and did not understand in some extenders readme files, but one remains: macro nesting.
What does that mean? Is it the ability for a macro to contain another macro?
Thanks
François
Re: Macro Nesting
Posted: Mon Jan 12, 2004 2:36 pm
by johann83
poet99 wrote:Is it the ability for a macro to contain another macro?
Yes, it is the ability for one macro to call another macro.
In this way you can get around the limitation on the length of a single macro by having one macro call another. You must still be careful that the overall number of keys yet to be processed for the macro does not exceed some pre-defined limit, however. This is usually extender/remote specific, I believe.
Matt
Posted: Mon Jan 12, 2004 3:13 pm
by johnsfine
While you can use macro nesting or concatenation as a way around the 15 step limit, few people want macros over 15 steps anyway.
Macro nesting is more useful just as a way to make the structure of your whole collection of macros smaller, or simpler, and/or make the purpose of parts of a macro more obvious. In other words, if you want to use the same sequence of steps in a few different macros it's convenient to be able to define that as a macro itself and use just that macro each place you want that sequence of steps.