Jump to content

Event Compile.AddConst: 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;"
Sent to a component to allow dynamic amendment of global variable declarations
|-
 
| 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;" | '''AddConst'''
 
|-
__TOC__
| colspan="2" | Sent to a component to allow dynamic amendment of global variable declarations&nbsp;
 
|-
==Parameters==
|-
[[Variable Types|STRING]] ''ConstName''
| width="10%" align="center" | [[File:Fc9-string-icon.png]] - STRING
:The original Flowcode constant
| width="90%" | ConstName
 
|-
[[Variable Types|STRING]] ''ExpandName''
| colspan="2" | The original Flowcode constant&nbsp;
:The expanded constant name
|-
 
| width="10%" align="center" | [[File:Fc9-string-icon.png]] - STRING
[[Variable Types|STRING]] ''Expansion''
| width="90%" | ExpandName
:The expanded string to inline to the code
|-
:''This parameter is returned back to Flowcode''
| colspan="2" | The expanded constant name&nbsp;
 
|-
 
| width="10%" align="center" | [[File:Fc9-string-icon.png]] - STRING
==Return value==
| width="90%" | Expansion
[[Variable Types|ULONG]]
|-
Non-zero to include definition - initialised on call
| colspan="2" | The expanded string to inline to the code&nbsp;
|-
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - Non-zero to include definition - initialised on call
| width="90%" style="border-top: 2px solid #000;" | ''Return''
|}





Revision as of 11:42, 16 January 2023

AddConst
Sent to a component to allow dynamic amendment of global variable declarations 
- STRING ConstName
The original Flowcode constant 
- STRING ExpandName
The expanded constant name 
- STRING Expansion
The expanded string to inline to the code 
- Non-zero to include definition - initialised on call Return


Detailed description

No additional information


Examples

No additional examples