actually, while it is important to have uniformity with those accessors,
after introduction of array types, it will be less important..

I plan to do the same as with NBExternalTypeValue.. something like:

myArrayType := NBExternalTypeArray ofType: 'int'.

myArray := myArrayType new: 10 .  "array of 10 ints"

myArray at:1 put: 20
myArray at: 2
myArray do: [... ]
etc

and here there's no longer need to bother whether we use 0-based or
1-based indexes,
because it is out of the question: we should use 1-based indexes,
because these guys will inherit everything from
ArrayedCollection class, and can be used as normal collections.


-- 
Best regards,
Igor Stasenko.

Reply via email to