Jump to content

API Tree.StepNamedIndex: Difference between revisions

From Flowcode Help
No edit summary
No edit summary
Line 28: Line 28:


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




Line 34: Line 34:
===Calling in a calculation===
===Calling in a calculation===
* Add to a calculation icon: <pre class="brush:[cpp]">::Tree.StepNamedIndex(return_object, "targetname", index)</pre>
* Add to a calculation icon: <pre class="brush:[cpp]">::Tree.StepNamedIndex(return_object, "targetname", index)</pre>
''<span style="color:red;">No additional examples</span>''

Revision as of 11:55, 16 January 2023

StepNamedIndex
Updates the object to point to the Nth next (younger) sibling matching the name 
- HANDLE Object
The object to update with the next found sibling 
- STRING TargetName
The name of the sibling to find 
- LONG Index
The index to find, 0 for the first including this 
- NONE Return


Detailed description

Examples

Calling in a calculation

  • Add to a calculation icon:
    ::Tree.StepNamedIndex(return_object, "targetname", index)