API Tree.GetSubValue

From Flowcode Help
Revision as of 11:55, 16 January 2023 by Wiki bot (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Fc9-comp-macro.png GetSubValue
Gets the value of a named sub-item of the given object, if available 
Fc9-h32-icon.png - HANDLE Object
The object to get a sub-items value from 
Fc9-string-icon.png - STRING SubName
The name of the sub-item in Object 
Fc9-string-icon.png - STRING Return


Detailed description

Examples

Calling in a calculation

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