BINGO! This is exactly it! Thank-you Piers, and everyone else for your thoughtful responses along the way.
I am sure this is it. We've had other instances where users camp on a key. Typically: INPUT ANS READ ... FROM F, ANS ELSE... where this generates an error in trying to read an ID > 256 chars. I think I need to add a resonableness test to the input routine. You are a very useful bunch of people to know, Chuck Stevenson -----Original Message----- From: Piers Angliss A very long numeric string will do this, see sample code below: 0001: ARRAY = '12345' ;* Just so array has a value 0002: VAR = STR('1',512) 0003: IF VAR MATCHES "0N" THEN PRINT 'Numeric' 0004: DUM = ARRAY<VAR> 0005: END >RUN BP T2 Numeric Program "T2": Line 4, Nonnumeric data when numeric required. Zero used. It passes the pattern match because each digit is numeric, it fails the numeric test because it is too big to handle. Note 512 is just a guess, I don't know what the actual limit is - it worked with around 60 ! You say this is a menu processor, perhaps one of your users rested a book / pad on a numeric key and generated the necessary huge string of numbers ? hth Piers -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Stevenson, Charles Sent: 08 March 2005 23:26 To: u2-users@listserver.u2ug.org Subject: [U2] [UV] "non-numeric" error after passing (ANS MATCHES '0N' & ANS>0) 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, Message[040025] Mon Mar 7 14:04:03 78 wrc63580 Program "MENU.DRIVER": Line 75, Message[040025] Mon Mar 7 14:04:03 78 wrc63580 Program "MENU.DRIVER": Line 291, Message[040025] Mon Mar 7 14:04:06 78 wrc63580 Program "MENU.DRIVER": Line 310, Message[040025] ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/