Difference between revisions of "Error Messages/40247"
m (→Error Text) |
|||
Line 5: | Line 5: | ||
or | or | ||
− | :In call to function Find_val, the second parameter, Levels, should be descending along | + | :In call to function Find_val, the second parameter, Levels, should be descending along the implicit index. |
= Cause = | = Cause = |
Revision as of 01:16, 14 January 2010
Error Text
- In call to function My_sum, the first parameter, X, should be ascending along J.
or
- In call to function Find_val, the second parameter, Levels, should be descending along the implicit index.
Cause
You have called a function that requires the values in the array passed to the indicated parameter to be increasing along the given index, but they are not.
Suppose a function is declared as follows:
- Function My_sum( X : ascending ; I : Index )
Now suppose you have an array:
- X :=
J → 1 2 3 4 5 6 15 18 25 24 30 45
If you were to evaluate:
My_sum( X, J )
This error would result since the values decrease from X[I=3] to X[I=4], i.e., from 25 to 24.
Comments
Enable comment auto-refresher