Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Documented a few MDA store functions. More to come

...

Code Block
MDADrop("MyStore")

MDAIndex(String, Double)

This function retrieves the index of an (warning)one-dimensional(warning) MDA store for a given value. In other word, it answers the quesion in which cell the values lies.

Arguments:

  1. The name of the store
  2. 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)