Joined: 23 Nov 2006 Posts: 19270 Location: Inside the Matrix
NUMVAL is very handy if it is guaranteed that the fields will be numeric (i.e. created by an already tested program). NUMVAL is not good for "user input" because if the data is not numeric, the code abends. . .
As much of my "input" data originates on Win-based and UNIX systems, NUMVAL is heavily used.
I keep hoping for an extension to NUMVAL that would intercept the abend and set some "variable" if the value was not numeric. . . Then we could have the ease of use of NUMVAL and protection from the abend