next up previous contents index
Next: newPackedArray Up: PackableType Previous: PackableType   Contents   Index


getPackedArray,setPackedArray!


Usage

getPackedArray(a, n)
setPackedArray!(a, n, x)


Signatures

getPackedArray: (Pointer, MachineInteger) $\to$ %
setPackedArray!: (Pointer, MachineInteger, %) $\to$ ()


Parameter Type Description
a Pointer an array
n MachineInteger an index
x % a value


Description

getPackedArray(a, n) returns the element at position n in a, while setPackedArray!(a, n, x) sets the element at position n in a. Note that both functions are 0-indexed.



Manuel Bronstein 2004-06-28