Error Messages/40783

< Error Messages
Revision as of 18:04, 4 February 2010 by AManandhar (talk | contribs) (Created page with '= Error Message Examples = A value of 61 was passed as the second parameter, m, to MakeTime. This is out-of-range, it should be between 0 …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Error Message Examples

A value of 61 was passed as the second parameter, m, to MakeTime.
This is out-of-range, it should be between 0 and 59 inclusive.

Cause

The function MakeTime(h, m, s) gives the time of the day as an elapsed fraction of the day, and the parameters to the function should be in the following ranges.
0<= h <= 23
0<= m <= 59
0<= s <= 59.

You have called the MakeTime(h, m, s) function by passing a value to one of the parameter that is outside the allowed range.

Remedies

Correct the parameter passed to the MakeTime(h, m, s) function to be in the valid range.



You are not allowed to post comments.

Comments
<comments />