Skip to main content

append

Short summary

This method adds the given CNM_AbstractObject.IObject to the end of the list.

Example:
Given a list that looks like this: (Head->) A B C (<- End), calling append(D) on this list will place the D at the and, making it the new End: (Head->) A B C D(<- End)

Return: CNM_ReturnTypes.SingleExecutionResult.SUCCESS: new Container could be allocated and data was copied CNM_ReturnTypes.SingleExecutionResult.ERROR: new Container couldn't be allocated, container left unchanged CNM_ReturnTypes.SingleExecutionResult.ABORTED: NULL object or the list itself was passed

Parameters

NameTypeCommentKind
objectCNM_AbstractObject.IObjectThe object to be appendedinput

Code

Declaration

METHOD append :CNM_ReturnTypes.SingleExecutionResult
VAR_INPUT
(*The object to be appended*)
object :CNM_AbstractObject.IObject;
END_VAR