Navigation: Programming Cookbook > External Interfacing >
Dolphin includes classes to represent arrays of value types in the machine native format, i.e. where the elements of the array are values or structures rather than objects, and they are stored adjacent to one another in a contiguous block of memory. The classes be divided into three categories:
|1.||Arrays of Scalar values|
|2.||Arrays of Structures, or StructureArrays|
|3.||COM/Active-X Array types|
All such array classes are subclasses of ExternalArray, which implements various Smalltalk collection protocols. The standard classes are for single dimensioned arrays, although other arrangements are possible, either by doing some arithmetic to calculate the offset or by subclassing.