:: com :: sun :: star :: script ::
|
unpublished |
struct ArrayWrapper |
|
|
|
- Description
- Allows an UNO sequence that is passed between different language
boundries to indicate it prefers to be represented as a multidimensional
array with 0 or 1 based indices. UNO does not natively represent
Multi-Dimensional arrays, instead a sequence can have elements that are
themselves sequences (an array of arrays ).
Some languages ( example
BASIC ) can natively represent both Multi-Dimentional arrays and array of
arrays.
Those languages could represent a sequence of sequences as either a
Multi-Dimentional array or array of arrays. This structure allows a
preference for a Multi-Dimensional array representation to be specified.
|
Elements' Summary |
IsZeroIndex |
Indicates whether the Array should be have 1 or 0 based indexing.
|
Array |
Contains the Array to be passed.
|
Elements' Details |
IsZeroIndex
boolean IsZeroIndex;
- Description
- Indicates whether the Array should be have 1 or 0 based indexing.
|
|
Array
any Array;
- Description
- Contains the Array to be passed.
Multi-dimensional arrays can only be represented as a sequence where the elements of the sequence are themselves sequences. N-Levels of indirection are possible, where N is the number of dimensions. Note: its perfectly legal to use this structure with a single dimensioned array just to indicate the array indexing.
|
|
Top of Page
Copyright © 2003 Sun Microsystems, Inc.