ABS VALUE (1)    DELTA CHECKS (62.1)

Name Value
NAME ABS VALUE
XECUTABLE CODE Q:X=""!(X1="")!(+X2=0)!(X?.A) S Y=0,X3=X-X1 S:X3<0 X3=-X3 I X3>X2 S Y=1 W " << DELTA CHECK >> ",*7,X3
DESCRIPTION
Compares the entered value with the last reported value for the test and if
+ or - the difference is greater than the DELTA VALUE, a warning will be
displayed.  No check is performed if the entry is 'null', the previous
value was not entered, there is no numeric DELTA VALUE entered, the entry
is text, or the previous value was older than the DAYS BACK FOR DELTA
CHECKS.