How about writing a mickey mouse program which goes through the full ASCII
char set and see which one passes the logic.

Re
Andy

-----Original Message-----
From: Alfke, Colin [mailto:[EMAIL PROTECTED] 
Sent: 09 March 2005 05:48
To: [email protected]
Subject: RE: [U2] [UV] "non-numeric" error after passing (ANS MATCHES '0N' &
ANS>0)

In UniData the '.' and '-' will evaluate as numeric. You might want to check
how these would fall through your logic in UniVerse.
 
hth
Colin Alfke

        -----Original Message----- 
        From: Stevenson, Charles 
        
        

        The relevant code (& I am VERY sure source matches object):
        
          072: BEGIN CASE
          073:   CASE ANS MATCHES '0N' & ANS>0
        [snip]
        4 times in recent months line these have generated the  a set of 4
        runtime errors
           "Nonnumeric data when numeric required.  Zero used." 
        as recorded in uv/errlog:
           Mon Mar  7 14:04:03  78 wrc63580 Program "MENU.DRIVER": Line 74,
        [snip]

        The only operation on all four lines that requires a numeric is
using
        ANS as the value number in the EXTRACT().
        
        ANS is non-numeric ???
        - But how can a non-numeric string get past the test on
          line 73, (ANS MATCHES '0N' & ANS>0) ?
        - Can a non-numeric both match "0N" and also be greater than zero?
          Something involving <space>s or ^128, maybe?
        
        That's the most likely line of enquiry, as I see it.
        
        This is in our top level menu driver that every interactive user
runs.
        These lines get executed countless times each day, but with only
four
        such errors incidents since last September.
        
        
        Am I missing something glaringly obvious?
        Any answers?
        
        cds

[demime 1.01d removed an attachment of type application/ms-tnef which had a
name of winmail.dat]
-------
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