SAS Component Language Dictionary |
Category: | List |
Syntax | |
Details | |
See Also |
Syntax |
type=ITEMTYPE(list-id<,index>); |
contains the type of the specified item:
C | |
N | |
L | |
O |
is the identifier of the list containing the item whose type is returned by ITEMTYPE. An invalid list-id produces an error condition.
is the position of the item in the list. The position can be specified as a positive or negative number. By default, index is 1 (the first item). If index is a positive number, then the item is at position index from the beginning of the list. If index is a negative number, then the item is at position ABS(index) from the end of the list. An error condition results if the absolute value for index is zero or if it is greater than the number of items in the list.
Details |
An item's type depends on which function was used to create the item:
are created by SETITEMN, SETNITEMN, INSERTN, MAKELIST, MAKENLIST.
See Also |
INSERTC, INSERTL, INSERTN, and INSERTO
SETITEMC, SETITEML, SETITEMN, and SETITEMO
SETNITEMC, SETNITEML, SETNITEMN, and SETNITEMO
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.