Clara-Doc - Method Reference

 / packages  / CTBASE  / Version 01.00.00  / CTLST

CTLST_IterStart
Description
Starts an iteration loop over all items in the list. Calling CTLST_IterNext after calling this method will return the first item in the list.

Prototype

			
     DCTLST_IterStart...
     D                 PR            10I 0
     D@This                            *   Value
						
Parameters
@This
TypePointer (*)
Passing ModeValue
DescriptionThe address of a linked list instance. This pointer MUST be obtained through a call to CTLST_Constructor.
Return Values

Symbolic ConstantValueDescription
CS_SUCCESS0The next item to be read in an iteration loop will be the first item in the list. This means the list has at least one item.
CS_FAILURE1The list is empty. The list cannot be read from.