Error Messages/40245

< Error Messages
Revision as of 19:04, 24 March 2016 by Bbecane (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Error text

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

Cause

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

For a function parameter declared as follows,

Function My_sum(X : descending))

calling the function as called below would trigger this error as the array passed is not in descending order.

My_sum([4, 1, 7])

Remedies

Pass an array with values in descending order as the indicated parameter to the function.

You can use the Sort function to sort an array in ascending or descending order.

See Also

Comments


You are not allowed to post comments.