Jump to content

API Component.GetCompile: Difference between revisions

From Flowcode Help
No edit summary
No edit summary
Line 23: Line 23:


==Detailed description==
==Detailed description==
''<span style="color:red;">No additional information</span>''
 




Line 30: Line 30:
* Declare a variable 'result' of type BOOL
* Declare a variable 'result' of type BOOL
* Add to a calculation icon: <pre class="brush:[cpp]">result = ::Component.GetCompile(target, true)</pre>
* Add to a calculation icon: <pre class="brush:[cpp]">result = ::Component.GetCompile(target, true)</pre>
''<span style="color:red;">No additional examples</span>''

Revision as of 11:54, 16 January 2023

GetCompile
Gets whether a component will be compiled or not 
- HANDLE Target
The component to read the state from 
- BOOL IncludeParents
True to include all the parents of the component, false to read its raw flag 
- BOOL Return


Detailed description

Examples

Calling in a calculation

  • Declare a variable 'result' of type BOOL
  • Add to a calculation icon:
    result = ::Component.GetCompile(target, true)