fei:
Aix 5.3.  Uv 10.1.12

ANS='0+'  or ANS='0++'

Both will match '0N'. And ANS is > 0. And you'll get the non-numeric for the extraction.

But
IF NUM(ANS) will fail.

As to why anyone would type in 0+....

rog

Tony Gravagno wrote:
Stevenson, Charles wrote:
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


I'd want to know what the value of ANS actually is.  Only thing I can think
of off-hand is that ANS = "+", maybe "-", though I'm not sure if UV or
various flavors consider those values greater than numeric zero.
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to