public function posofval_long(me, val, nextifnotfound, lower, upper) result(pos)
the actual position of a given value in the dynamic array
most likely this is what you need in codes, using this
data structure, it first does the binary search on the sorted
values with sortposofval_long and then returns the looked
up position in the original unsorted array, which corresponds
to the position returned by the append routine.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.