Usually the non-numeric in an array is something silly like a "", "-" or
a "." as they will pass num() tests. However, in your case I would
expect the matches '0N' to pick those up.

It looks like ANS is user input. Any chance there are non-printable
chars in there? Although I wouldn't expect them to pass through either.

Maybe your UV version allows one of the above through???

Hth
Colin Alfke
Calgary Canada

>-----Original Message-----
>From: Stevenson, Charles
>
>Program "TIP.LIST": Line 242, Nonnumeric data when numeric required.
>Zero used.
>
>It's got to be ANS that is "nonnumeric",  but how?
>
>Here's the code:
>
>       239: IF (ANS#"" AND ANS # "B") THEN
>       240:   IF ANS MATCHES '0N' THEN
>       241:      IF ANS>0 THEN
>       242:         IF SCRATCH<ANS>#"" THEN
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to