...
This function retrieves the index of an one-dimensional MDA store for a given value. In other wordwords, it answers the quesion in which cell the values lies.
Short-cut for MDAIndices with one dimension.
Arguments:
- The name of the store
- The value to check
Note that it must be an one-dimensional MDA
Return value: Integer
The cell in which cell the values lies, or -1, if the value is outside the boundaries.
Example:
Using the Nexmark sources:
Code Block |
---|
MDAIndex("Test", price) |
Anchor | ||||
---|---|---|---|---|
|
This function retrieves the index of multi-dimensional MDA store for a given value. In other words, it answers the quesion in which cell the values lies.
Arguments:
- The name of the store
- The multi-dimensional value to check
Return value: List<Integer>
The cell in which cell the values lies, or -1 for any dimension, if the value is outside the boundaries of that dimension.
Example:
Using the Nexmark sources:
Code Block |
---|
MDAIndex("Test", ToList(price, ToDouble(initialbid))) |