Chapter Contents |
Previous |
Next |
NAMEITEM |
Category: | List |
Syntax | |
Details | |
See Also |
Syntax |
item-name=NAMEITEM(list-id<,index<,new-name>>); |
Type: Character
Type: Numeric or List
Type: Numeric
Type: Character
Details |
NAMEITEM returns the name of the item at the list position specified by index. If a value for new-name is also provided, then NAMEITEM assigns that name to the item, replacing the old name.
An error condition results if the value for new-name is provided and the list has any of the following attributes:
To check the attributes of a list or list item, use HASATTR. To change attributes, use SETLATTR.
See Also |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.