Difference between revisions of "API Tree.GetSubValue"

From Flowcode Help
Jump to navigationJump to search
(XML import)
(XML import API changes)
Line 19: Line 19:
 
==Return value==
 
==Return value==
 
[[Variable types|STRING]]
 
[[Variable types|STRING]]
 +
 
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
  

Revision as of 13:16, 14 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