First time here? Check out the FAQ!
x

ZeroBasedArray2D methods

0 votes
240 views
Hi,

I am desparately looking for documentation listing the methods associated with ZeroBasedArray classes.

More generally there seems to be a lot of Smalltalk classes existing in Kyma that i cannot find documentation for.

Where or how can I get this information?
asked Jan 15, 2016 in Capytalk & Smalltalk by malcolm-braff (Practitioner) (770 points)

1 Answer

0 votes

Instance creation

ZeroBasedArray new: xSize new: ySize new: zSize fromArray: flatArray

Access an element at a position

at: x at: y at: z

Store at a position

at: x at: y at: z put: anObject

For 2d, you just drop the third (z) argument.

answered Jan 16, 2016 by ssc (Savant) (128,120 points)
...