I'm reading the Programming Guide, trying to get a grip on the allowed
attributes for the indices of each type of collection.
The Programming Guide says, "Each item stored in a
Rexx collection has an associated index that you can use to retrieve the item
from the collection with the AT or [] (left and right bracket) methods, and
each collection deļ¬nes its own acceptable index types:". It goes on to
describe the indexes for each collection type, but some of them are rather
vague:
"Array A sequenced collection of objects ordered by whole-number
indexes."
Okay, that's clear enough...
"List A sequenced collection that lets you add new items at any
position
in the sequence. A list generates and returns an index value for each item
placed in the list. The returned index remains valid until the item is
removed from the list."
Hmmm...so is a list index allowed to be an integer? A real number?
Non-numeric?
Help!
Leslie
------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612
_______________________________________________
Oorexx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-users