Chapter Contents |
Previous |
Next |
DELITEM |
Category: | List |
Syntax | |
Details | |
See Also |
Syntax |
list-id=DELITEM(list-id<,index>); |
Type: Numeric or List
Type: Numeric
Details |
The item to be deleted is specified by its position in the list that is passed in.
DELITEM does not make a copy of the list before deleting the specified item. The delete operation is performed in place on the list, and the list identifier is returned.
When the item to be deleted is a sublist, DELITEM deletes the item but not the sublist, because the sublist may be referenced by other SCL variables or lists.
An error condition results if
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.