LIST.APPENDITEM
built-in procedureThis procedure appends an item to a list.
PROCEDURE LIST.APPENDITEM
(list Listofchar,
item VARCHAR2);
Parameter |
Description |
|
The name of an existing list. |
|
A list item. |
/*
** Add an item to the end of 'my_List' then
** print out the number of items in the List
*/
PROCEDURE append (my_List LIST.LISTOFCHARS) IS
BEGIN
LIST.APPENDITEM(my_List, 'This is the last item.');
TEXT_IO.PUT_LINE(LIST.GETITEM(my_List,
LIST.NITEMS(my_List)));
END;
About the LIST
built-in package
Copyright © 1984, 2005, Oracle. All rights reserved.