Clara-Doc - Method Reference

 / packages  / CTBASE  / Version 01.00.00  / CTLST

CTLST_ItemSize
Description
Returns the size in bytes of a list item located at a specified index location within the list.

Prototype

			
     DCTLST_ItemSize...
     D                 PR            10I 0
     D@This                            *   Value
     D@Index                         10I 0 Value
						
Parameters
@This
TypePointer (*)
Passing ModeValue
DescriptionThe address of a linked list instance. This pointer MUST be obtained through a call to CTLST_Constructor.
@Index
Type10I 0
Passing ModeValue
DescriptionThe index position of the byte buffer within the CTLST instance. The first item in the list is located at index 1 (or CTLST_TOP). If you want to insert at the end of the list, you must specify CTLST_BOTTOM. If you specify an index out of range, the item will not be inserted (copied).
Return Values


Returns the size in bytes of a list item located at a specified index location within the list.