Use return from macro
Posted: Sun Mar 29, 2020 5:53 pm
I've got a macro (lest say: Macro_1), and I've made a local variable .Return
In the macro, I set .Return to 0 if something didn't work, and to 1 when it ran successfully.
From what I've read the .Return should now be used globally to check if the macro ran successfully?
How can I check in another macro if the macro ran OK?
I want to check this returnvalue with a decision macro, should this look like this:
if Macro_1(.return) then?
How can I check in a decision of the macro returned a certain value?
Thanks!!
In the macro, I set .Return to 0 if something didn't work, and to 1 when it ran successfully.
From what I've read the .Return should now be used globally to check if the macro ran successfully?
How can I check in another macro if the macro ran OK?
I want to check this returnvalue with a decision macro, should this look like this:
if Macro_1(.return) then?
How can I check in a decision of the macro returned a certain value?
Thanks!!