Difference between revisions of "Event Compile.Start"

From Flowcode Help
Jump to navigationJump to search
(XML import)
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

Fc9-comp-macro.png Start
Broadcast to all components that compilation is starting 
Fc9-void-icon.png - 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