Error Messages/40244

Revision as of 19:05, 1 February 2010 by AManandhar (talk | contribs) (Created page with '= Error Text = In call to function My_sum, the first parameter, X, should be in ascending order. = Cause = You have called a function that requires the values in the array pa…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Error Text

In call to function My_sum, the first parameter, X, should be in ascending order.

Cause

You have called a function that requires the values in the array passed to the parameter to be in ascending order, but the values in the array were not in ascending order.

For a function parameter declared as follows, Function My_sum( X : ascending ) calling the function

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.


The "... along the implicit index" message appears when the dimension is the implicit or null dimension, not corresponding to any index object.

Comments
Loading comments...