Jump to content

API Tree.GetSubValue: Difference between revisions

From Flowcode Help
Admin (talk | contribs)
XML import API auto-gen
Admin (talk | contribs)
XML import of API auto-gen
Line 21: Line 21:
====Calling in a calculation====
====Calling in a calculation====
* Declare a variable 'result' of type STRING
* Declare a variable 'result' of type STRING
* Add to a calculation icon: result = ::Tree.GetSubValue(object, "subname")
* Add to a calculation icon: <pre class="brush:[C]">result = ::Tree.GetSubValue(object, "subname")</pre>

Revision as of 15:35, 10 May 2013

<sidebar>API contents</sidebar> Gets the value of a named sub-item of the given object, if available


Parameters

HANDLE Object

The object to get a sub-items value from

STRING SubName

The name of the sub-item in Object

Return value

STRING

Returns the value of a named sub-item of the given object, if available

Detailed description

No additional information

Examples

Calling in a calculation

  • Declare a variable 'result' of type STRING
  • Add to a calculation icon:
    result = ::Tree.GetSubValue(object, "subname")