Hi everyone !
I'm a newbie with Flowcode and I have some trouble to make the difference between a macro and a function.
It seems that either a macro or either a function is called a MACRO in Flowcode.
I find this is not easy to distinguish them.
Macro vs Function
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Macro vs Function
Hello,
What we call a macro in Flowcode is actually a function or a subroutine. We are aware the name is not quite right but changing it would be a fairly big change, not just to the product but also to all the surrounding documentation.
Anyway a "macro" is inside your flowcode project in the form of a flowchart with a start and end. Even the Main function you get by default when starting a project is a macro.
A "component macro" is subtely different as this is provided by a component. It's basically the same thing but specific to a component you have added to one of the panels.
The project explorer window is a great means of viewing and using all your macros and component macros by using the Macros and Components tabs at the top of the window. You can drag the functions from here directly onto the flowchart window.
What we call a macro in Flowcode is actually a function or a subroutine. We are aware the name is not quite right but changing it would be a fairly big change, not just to the product but also to all the surrounding documentation.
Anyway a "macro" is inside your flowcode project in the form of a flowchart with a start and end. Even the Main function you get by default when starting a project is a macro.
A "component macro" is subtely different as this is provided by a component. It's basically the same thing but specific to a component you have added to one of the panels.
The project explorer window is a great means of viewing and using all your macros and component macros by using the Macros and Components tabs at the top of the window. You can drag the functions from here directly onto the flowchart window.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel