Callbacks don't seem to be implemented..
Define a property of type 'Macro Call' - and this can be assigned to any of the available macros in a program.
Unfortunately it doesn't get assigned within the program - and there doesn't seem to be a way to call the macro. E.g. macro_var(1); in a C block or (without the in a calculation block..
Martin
Callbacks in Flowcode.
-
- Valued Contributor
- Posts: 1026
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 107 times
- Been thanked: 532 times
-
- Matrix Staff
- Posts: 1290
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 171 times
- Been thanked: 289 times
Re: Callbacks in Flowcode.
There is a built-in (aka "simulation") macro called "CallMacro". This will take the variable given by the "Macro Call" property.
-
- Matrix Staff
- Posts: 1290
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 171 times
- Been thanked: 289 times