Carlos Garcia Posted February 22, 2005 Report Share Posted February 22, 2005 If a Macro calls another macro, does control flow back to the original macro like a function terminating in a language like C++? EG Macro1 Text Type a Text Type b Text Type c Text Type d Macro Run: Macro2 Text Type e Text Type f Text Type g Macro2 Text Type A Text Type B Text Type C Text Type D Would this output the following: a b c d A B C D e f g OR a b c d A B C D Quote Link to comment Share on other sites More sharing options...
joe Posted February 22, 2005 Report Share Posted February 22, 2005 Hello Carlos! Yes, when a called macro ends, control goes back to the calling macro even if you do not use the Macro Return command. So in your example, a b c d A B C D e f g would be the correct answer. Exceptions are if the called macro aborts for any reason, or it encounters a Macro Stop command. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.