Jump to content

API Expand.Property: Difference between revisions

From Flowcode Help
No edit summary
m Text replacement - "class="wikitable" style="width:60%; background-color:#FFFFFF;"" to "class="mtx-class-macrotable wikitable""
Line 1: Line 1:
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]

Revision as of 14:07, 13 July 2026

Property
Expands a string to the name of a property used in the generated code 
- STRING Source
The property name to expand 
- HANDLE Owner
A component that owns the property 
- BOOL AddName
Set true to return the name part of the expansion 
- BOOL AddValue
Set true to return the value part of the expansion 
- STRING Return


Detailed description

Examples

Calling in a calculation

  • Declare a variable 'result' of type STRING
  • Add to a calculation icon:
    result = ::Expand.Property("source", owner, false, true)