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
Multiple return variables in a macro
Moderator: Benj
-
- Valued Contributor
- Posts: 2045
- Joined: Wed Aug 27, 2008 10:31 pm
- Location: Netherlands
- Has thanked: 553 times
- Been thanked: 1081 times
Re: Multiple return variables in a macro
Macros can only return 1 variable, multiple return variables is not possible.
“Integrity is doing the right thing, even when no one is watching.”
― C.S. Lewis
― C.S. Lewis
Re: Multiple return variables in a macro
I want to learn a comeback in a macro variableskersing wrote:Macros can only return 1 variable, multiple return variables is not possible.
-
- Valued Contributor
- Posts: 2045
- Joined: Wed Aug 27, 2008 10:31 pm
- Location: Netherlands
- Has thanked: 553 times
- Been thanked: 1081 times
Re: Multiple return variables in a macro
I do not understand what you mean with:
I want to learn a comeback in a macro variables
“Integrity is doing the right thing, even when no one is watching.”
― C.S. Lewis
― C.S. Lewis
Re: Multiple return variables in a macro
I'm sorry i do not know Englishkersing wrote:I do not understand what you mean with:
I want to learn a comeback in a macro variables
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
- Attachments
-
- Flowcode1.fcf
- (11.5 KiB) Downloaded 560 times
-
- Valued Contributor
- Posts: 2045
- Joined: Wed Aug 27, 2008 10:31 pm
- Location: Netherlands
- Has thanked: 553 times
- Been thanked: 1081 times
Re: Multiple return variables in a macro
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.
Code: Select all
.Return = .value
“Integrity is doing the right thing, even when no one is watching.”
― C.S. Lewis
― C.S. Lewis