Difference between revisions of "API Tree.StepNamedIndex"
From Flowcode Help
Jump to navigationJump to search (XML import) |
(XML import) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <sidebar>API | + | <sidebar>API Contents</sidebar> |
Updates the object to point to the Nth next (younger) sibling matching the name | Updates the object to point to the Nth next (younger) sibling matching the name | ||
<div style="width:25%; float:right" class="toc"> | <div style="width:25%; float:right" class="toc"> | ||
− | ===Class hierarchy===[[API | | + | ====Class hierarchy==== |
− | :[[API Tree| | + | [[API Tree|Tree]] |
− | + | :[[API Tree|StepNamedIndex]] | |
</div> | </div> | ||
__TOC__ | __TOC__ | ||
==Parameters== | ==Parameters== | ||
− | + | [[Variable Types|HANDLE]] ''Object'' | |
+ | :The object to update with the next found sibling | ||
:''This parameter is returned back to the caller'' | :''This parameter is returned back to the caller'' | ||
− | |||
− | + | [[Variable Types|STRING]] ''TargetName'' | |
:The name of the sibling to find | :The name of the sibling to find | ||
− | + | [[Variable Types|LONG]] ''Index'' | |
:The index to find, 0 for the first including this | :The index to find, 0 for the first including this | ||
+ | |||
==Return value== | ==Return value== | ||
''This call does not return a value'' | ''This call does not return a value'' | ||
+ | |||
==Detailed description== | ==Detailed description== | ||
− | ''No additional information'' | + | ''<span style="color:red;">No additional information</span>'' |
+ | |||
==Examples== | ==Examples== | ||
===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>'' |
Latest revision as of 15:58, 16 January 2014
<sidebar>API Contents</sidebar> Updates the object to point to the Nth next (younger) sibling matching the name
Contents
Parameters
HANDLE Object
- The object to update with the next found sibling
- This parameter is returned back to the caller
STRING TargetName
- The name of the sibling to find
LONG Index
- The index to find, 0 for the first including this
Return value
This call does not return a value
Detailed description
No additional information
Examples
Calling in a calculation
- Add to a calculation icon:
::Tree.StepNamedIndex(return_object, "targetname", index)
No additional examples