...
Code Block |
---|
MDADrop("MyStore") |
MDAIndex(String, Double)
This function retrieves the index of an one-dimensional MDA store for a given value. In other word, it answers the quesion in which cell the values lies.
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) |