Skip to main content

appendNodeList

Short Summary

This method adds all elements of the given collection to the end of this list.

Example

For the list1: A B C and list2: D E F will be after list1.appendCollection(list2):
A B C D E F. Notice the elements are still in the same order they where befor on each subsection.

Example

(* appending one station to another so they can be handled with one operation mode handler *)
IF (station1.nodes.appendNodeList( station2.nodes) = SUCCESS) THEN
(* do something with the new nodes *)
END_IF

Parameters

NameTypeCommentKind
nodesINodeListthe node list that should be appendedinput

Code

Declaration

METHOD appendNodeList : CNM_ReturnTypes.SingleExecutionResult
VAR_INPUT
(* the node list that should be appended *)
nodes :INodeList;
END_VAR