Event Compile.Start

From Flowcode Help
Revision as of 12:12, 16 January 2023 by Wiki bot (talk | contribs)
Jump to navigationJump to search
Fc9-comp-macro.png Start
Broadcast to all components that compilation is starting 
Fc9-void-icon.png - Non-zero to prevent compilation Return


Details on using Event Macros can be found here: Event Macros


Detailed description

When the user clicks compile a component may need to perform checks on its status that Flowcode can not be aware of, and perhaps prevent compilation in extreme circumstances.

This event is a compliment to the Simulation.Start event that is broadcast-sent to all components before any text is written to the code file.


Examples