Jump to content

API Expand.MacroName: Difference between revisions

From Flowcode Help
Admin (talk | contribs)
XML import
Admin (talk | contribs)
XML import
Line 16: Line 16:
:A component that owns the macro
:A component that owns the macro
:''The default value for this parameter is: '''''this'''
:''The default value for this parameter is: '''''this'''


==Return value==
==Return value==
Line 21: Line 22:


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





Revision as of 01:54, 12 May 2013

<sidebar>API contents</sidebar> Expands a string to the name of a macro used in the generated code

Class hierarchy

Expand

MacroName

Parameters

STRING Source

The macro name to expand

HANDLE Owner

A component that owns the macro
The default value for this parameter is: this


Return value

STRING

No additional information


Detailed description

No additional information


Examples

Calling in a calculation

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

No additional information