Jump to content

Event Compile.Start: Difference between revisions

From Flowcode Help
JonnyW (talk | contribs)
XML import
No edit summary
Line 1: Line 1:
<sidebar>Event Contents</sidebar>
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
Broadcast to all components that compilation is starting
|-
 
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
This event is part of the [[Event class Compile|Compile]] class
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Start'''
 
|-
__TOC__
| colspan="2" | Broadcast to all components that compilation is starting&nbsp;
 
|-
==Parameters==
|-
''This event has no parameters''
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - Non-zero to prevent compilation
 
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 
|}
==Return value==
[[Variable Types|ULONG]]
Non-zero to prevent compilation





Revision as of 11:42, 16 January 2023

Start
Broadcast to all components that compilation is starting 
- Non-zero to prevent compilation Return


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

No additional examples