Error Messages/40639
< Error Messages
Revision as of 17:54, 22 January 2010 by AManandhar (talk | contribs) (Created page with '= Error Message Examples = In call to function Fix_reference, the first parameter, ref, should be a reference or an array of references, but the array value passed for this va…')
Error Message Examples
In call to function Fix_reference, the first parameter, ref, should be a reference or an array of references, but the array value passed for this value contains a non-reference at coordinate: Passed_array=5.
Cause
You didn't pass a non negative value as a parameter to a function that expects the parameter to be a non negative number. Function parameters that have been qualified by 'nonnegative' expects a non negative number and produces this error if the parameter passed to the function is not a non negative number.
The following function expects the first parameter, num, to be a non negative number and throws this error when a negative number, text, reference or handle is passed to the function.
Function Make_widgets( num: nonnegative; type: text)
To learn more about function parameter qualifier, please click here.
Remedies
Correct the parameter passed to the function to be a non negative number.
Comments
<comments />
Enable comment auto-refresher