Difference between revisions of "Error Messages/40637"

(Created page with '= Error Message Examples = In call to function Calculate_BMI, the first parameter, weight, should be a positive value, but the array passed to this parameter contains a value…')
 
Line 3: Line 3:
 
  In call to function Calculate_BMI, the first parameter, weight, should be a positive value,
 
  In call to function Calculate_BMI, the first parameter, weight, should be a positive value,
 
  but the array passed to this parameter contains a value that is not a positive number at coordinate:
 
  but the array passed to this parameter contains a value that is not a positive number at coordinate:
               ArrayOfText=-126.
+
               ArrayOfWeight=-126.
  
 
= Cause  =
 
= Cause  =

Revision as of 18:40, 22 January 2010

Error Message Examples

In call to function Calculate_BMI, the first parameter, weight, should be a positive value,
but the array passed to this parameter contains a value that is not a positive number at coordinate:
              ArrayOfWeight=-126.

Cause

You passed an array with a non positive value to a functions that expects the parameter to be a positive value or an array of positive values. Function parameters that have been qualified by 'positive' expects a positive value or an array of positive value, and produces this error on passing a non positive value.

The following function expects the first parameter, weight, to be a positive value and throws this error when an array with a non positive value is passed to it.

Function Calcilate_BMI( weight: positive; height: positive)

To learn more about function parameter qualifier, please click here.

Remedies

Correct the value in the array passed to the function at the specified coordinate.





You are not allowed to post comments.

Comments
<comments />