Add commands to conditionally stop a macro or stop a BEGIN / END block within a macro Answered
Add commands to conditionally stop a macro or stop a BEGIN / END block within a macro.
Suggest adding two commands similar to the following:
- ExitMacro(); - unconditionally exits the current macro (essentially skips to below the last command)
- ExitCurrentBlock() - unconditionally breaks the current BEGIN / END block skipping to below the next END
Currently the macro writer can handle this by explicitly testing a condition (often done via a dedicated @STORExxx variable). This becomes complex with larger macros with multiple logic blocks.
Comments
3 comments
(Please note that as we are user-driven we can't guarantee that your request will be met unless it gets many votes and/or fit the product vision)
Read more about the Feature Request process here
[Internal Id: 54227]
This would be SOOOOO useful. Nested IF's become a total nightmare on larger macros and this would be much better.
I needed it today in a lineloop UF
Please sign in to leave a comment.