Difference between revisions of "Event Compile.AddConst"

From Flowcode Help
Jump to navigationJump to search
(XML import)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''AddConst'''
 +
|-
 +
| colspan="2" | Sent to a component to allow dynamic amendment of global variable declarations 
 +
|-
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-string-icon.png]] - STRING
 +
| width="90%" | ConstName
 +
|-
 +
| colspan="2" | The original Flowcode constant 
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-string-icon.png]] - STRING
 +
| width="90%" | ExpandName
 +
|-
 +
| colspan="2" | The expanded constant name 
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-string-icon.png]] - STRING
 +
| width="90%" | Expansion
 +
|-
 +
| colspan="2" | The expanded string to inline to the code 
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u32-icon.png]] - ULONG
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|-
 +
| colspan="2" | Non-zero to include definition - initialised on call 
 +
|}
  
Sent to a component to allow dynamic amendment of global variable declarations
 
  
This event is part of the [[Event class Compile|Compile]] class
+
Details on using Event Macros can be found here: [[Simulation Events|Event Macros]]
  
__TOC__
 
  
==Parameters==
+
==Detailed description==
[[Variable types|STRING]] ''ConstName''
 
:The original Flowcode constant
 
 
 
[[Variable types|STRING]] ''ExpandName''
 
:The expanded constant name
 
 
 
[[Variable types|STRING]] ''Expansion''
 
:The expanded string to inline to the code
 
:''This parameter is returned back to Flowcode''
 
  
 
==Return value==
 
[[Variable types|ULONG]]
 
Non-zero to include definition - initialised on call
 
 
 
==Detailed description==
 
''<span style="color:red;">No additional information</span>''
 
  
  
 
==Examples==
 
==Examples==
''<span style="color:red;">No additional information</span>''
 

Latest revision as of 12:32, 16 January 2023

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


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


Detailed description

Examples