Page 1 of 1
Multiple return variables in a macro
Posted: Sun May 29, 2016 4:28 pm
by Alan_37
Hi ,
Just a simple Question is it possible to have more then 1 return Value in a Macro ? ,
just like Parameters you can have multiple .
I am able to create only 1 return Variable .
Thanks
Re: Multiple return variables in a macro
Posted: Sun May 29, 2016 11:54 pm
by kersing
Macros can only return 1 variable, multiple return variables is not possible.
Re: Multiple return variables in a macro
Posted: Sun Jun 05, 2016 11:08 pm
by mesut25
I want to learn a comeback in a macro variables
Thanks
Re: Multiple return variables in a macro
Posted: Sun Jun 05, 2016 11:09 pm
by mesut25
kersing wrote:Macros can only return 1 variable, multiple return variables is not possible.
I want to learn a comeback in a macro variables
Re: Multiple return variables in a macro
Posted: Sun Jun 05, 2016 11:13 pm
by kersing
I do not understand what you mean with:
I want to learn a comeback in a macro variables
Re: Multiple return variables in a macro
Posted: Mon Jun 06, 2016 3:29 pm
by mesut25
kersing wrote:I do not understand what you mean with:
I want to learn a comeback in a macro variables
I'm sorry i do not know English
I have createded a macro in my program. I wanted a byte value to return. How to do? IN macro properties I have selected Byte as return type. Which value it will return? How to define it?
Thanks in advance
Macros can return only 1 variable , tell a simple example
I want to learn logic
I'm sorry I do not know english
Macros A simple example can return only 1 variable
I want to learn the logic
Re: Multiple return variables in a macro
Posted: Mon Jun 06, 2016 5:01 pm
by kersing
To set the return value of a macro you need to add a calculation icon inside the macro. In the calculation set:
Where value can be a constant value (like 1, 2 or 200) or another variable.