Main Index |
TIPS Home |
ok_days_perok_days_per (routine)
Validate a given days in a period
Introduced in release: 1.0
Component: Generic
Purpose:
Tests the given number of days in a period to be sure it is a valid. If the zero_flag is zero then days in the period must be zero or greater. If the zero_flag is one then days in the period must be one or greater.
Results:
The value of the function is true (1) if the percent is valid. The value of the function is false (0) if the percent is invalid. The variable status will contain the reason it is invalid.
Error Conditions:
The variable status contains a non zero value upon returning from the function when the input contains an error.
4800 = days_in_per is less than zero
4801 = days_in_per is less than one
| Last Mod Date: 03/01/1990 | © 2001 TIPS, Inc. | Doc Version: 5.0 |