Jump to content

API Tree.GetSubValue: Difference between revisions

From Flowcode Help
Admin (talk | contribs)
XML import
Admin (talk | contribs)
XML import
Line 15: Line 15:
[[Variable types|STRING]] ''SubName''
[[Variable types|STRING]] ''SubName''
:The name of the sub-item in Object
:The name of the sub-item in Object


==Return value==
==Return value==
Line 20: Line 21:


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


==Detailed description==
==Detailed description==

Revision as of 01:55, 12 May 2013

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

Class hierarchy

Tree

GetSubValue

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")

No additional information