RE: [U2] [UV]Strange But True
FYI - MATCH does a string comparison too. e.g. VAL1 = 43008E-112 VAL2 = 43008E-108 IF (VAL1 MATCHES VAL2) THEN CRT THIS IS STRANGE END does not print the message either. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] [UV]Strange But True
One BIG caveat on that one: MATCHES expects the 2nd operand to be a pattern matching string. If the contents of VAL2 are a valid pattern matching expression, it will be treated as such, not as just any old string. For example: RPTEST 0001 CRT TIMEDATE() 0002 VAL1 = 1234567 0003 VAL2 = 0X 0004 VAL3 = ABCDE 0005 * 0006 IF (VAL1 MATCHES VAL2) THEN CRT VAL1 -- VAL2 0007 IF (VAL3 MATCHES VAL2) THEN CRT VAL3 -- VAL2 RPTEST 16:55:38 13 JAN 2005 VAL1 -- VAL2 VAL3 -- VAL2 The string 0X (zero + 'X') means match any number of any sort of character (alpha, num, etc.). --Ron P. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Rex Gozar Sent: Thursday, January 13, 2005 4:18 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] [UV]Strange But True FYI - MATCH does a string comparison too. e.g. VAL1 = 43008E-112 VAL2 = 43008E-108 IF (VAL1 MATCHES VAL2) THEN CRT THIS IS STRANGE END does not print the message either. --- 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/
RE: [U2] [UV]Strange But True
Hi, I will be out of the office on Friday, 1/14/04, and will return on Tuesday 1/18/04. If a you need an immediate response to your e-mail please e-mail [EMAIL PROTECTED] or you can call Frank at extension 467. Thanks and have a great day! Josh Josh --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] [UV]Strange But True
VAL1 = 43008E-112 VAL2 = 43008E-108 IF (VAL1 = VAL2) THEN CRT THIS IS STRANGE END It returns THIS IS STRANGE. Does anybody know why? Easy! UniVerse has a delightful feature called wide zero which says that when you compare two floating point numbers, they will be treated as equal if they are very close. The default value of this tolerance is about 2.91E-11 but it can be adjusted using the WIDE0 configuration parameter (which opens a whole new topic as it is set as the first 32 bits of an IEEE floating point value in hexadecimal!). Wide zero is actually very useful as it simplifies some operations where rounding errors may result in odd things way down the decimal places. Martin Phillips Ladybridge Systems 17b Coldstream Lane, Hardingstone, Northampton NN4 6DB +44-(0)1604-709200 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] [UV]Strange But True
I don't know if it is intentional but the values you are comparing are exponential. So the comparison is of two incredibly small numbers. The numbers are so small they are equal for all intents or purposes. My 2c worth. Louis - Original Message - From: Bjorn Behr [EMAIL PROTECTED] To: u2-users@listserver.u2ug.org Sent: Wednesday, January 12, 2005 7:08 PM Subject: [U2] [UV]Strange But True : Uv Version: UniVerse 10.1 : OS : Windows 2003 Server : : Can anybody explain. I wrote a small program and the result has baffeled me. : : Program: : : VAL1 = 43008E-112 : VAL2 = 43008E-108 : IF (VAL1 = VAL2) THEN :CRT THIS IS STRANGE : END : : It returns THIS IS STRANGE. Does anybody know why? : : Regards : Bjvrn Behr : Programmer : : HYFLO Southern Africa (Pty) Ltd : Tel : +27 11 386 5800 : Fax : +27 11 444 5391 : Mail: [EMAIL PROTECTED] : WWW : http://www.hyflo.co.za : : --- : u2-users mailing list : u2-users@listserver.u2ug.org : To unsubscribe please visit http://listserver.u2ug.org/ : : : : : -- : Internal Virus Database is out-of-date. : Checked by AVG Anti-Virus. : Version: 7.0.296 / Virus Database: 265.6.8 - Release Date: 3/01/2005 : : -- Internal Virus Database is out-of-date. Checked by AVG Anti-Virus. Version: 7.0.296 / Virus Database: 265.6.8 - Release Date: 3/01/2005 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] [UV]Strange But True
[EMAIL PROTECTED] wrote: I don't know if it is intentional but the values you are comparing are exponential. So the comparison is of two incredibly small numbers. The numbers are so small they are equal for all intents or purposes. small is subjective. The earth is only rounding error as far as the universe is concerned, but it is very important to us. To my mind this is a major bug, if you're right. It's as bad as IF 100 = 0.01 were to return TRUE. (Which is exactly the same comparison, scaled up.) The correct way of dealing with rounding error is for the internal logic to be along the lines of IF (A-B)/A 1E-6 THEN RETURN TRUE ELSE RETURN FALSE. While I'm pretty certain 6 is the wrong number, there is a concrete justification for it - when comparing FLOAT*4 numbers it guarantees that you are using the best available precision without falling over processor rounding artifacts. There is a similar number for FLOAT*8, which is what I think UV uses internally. (And I'm assuming A and B are positive, correct appropriately for negative numbers :-) Cheers, Wol --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] [UV]Strange But True
[EMAIL PROTECTED] wrote: I don't know if it is intentional but the values you are comparing are exponential. So the comparison is of two incredibly small numbers. The numbers are so small they are equal for all intents or purposes. Looks like the difference is less than your Wide Zero parameter. Brian --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] [UV]Strange But True
Just out of curiosity: How do you arrive at numbers of the E-108 magnitude ? After all, measuring the diameter of a quark (sth like E-18 m ) with the diameter of the entire (known) universe ( 3 * E+26 m ) as the unit, only gets us down to about E-44??? -- mats --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] [UV]Strange But True
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mats Carlid Sent: Wednesday, January 12, 2005 12:38 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] [UV]Strange But True Just out of curiosity: How do you arrive at numbers of the E-108 magnitude ? A few of my paychecks have been around that order... --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] [UV]Strange But True
But wait, it gets even weirder! If you do the following, to make sure there's no chance of the two strings acting as numeric: VAL1 = 43008E-112: and VAL2 = 43008E-108: the program still fails. When you REALLY make sure you're doing a string compare with IF (VAL1: = VAL2:) THEN it STILL FAILS! Oh well, I guess U2 has a mind of its own with regard to string compare. Note that the string compare works OK on most generic Pick platforms. Matthew H. Stern, CCP/CDP, [EMAIL PROTECTED] Serving the IT industry since 1976 Comprehensive Computer Services Inc. www.comprehensive.com Phone: 631 755-2250, Fax 755-2254 560 Broad Hollow Road, Melville NY 11747 Marilyn Hilb wrote: I had this same problem with our bin locations that contained an E. I ended up swapping E for X before doing the compare to get the results I wanted. Thanks, Marilyn A. Hilb Value Part, Inc Direct: 847-918-6099 Fax: 847-367-1892 [EMAIL PROTECTED] www.valuepart.com -Original Message- From: Louis Windsor [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 12, 2005 6:20 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2] [UV]Strange But True I don't know if it is intentional but the values you are comparing are exponential. So the comparison is of two incredibly small numbers. The numbers are so small they are equal for all intents or purposes. My 2c worth. Louis - Original Message - From: Bjorn Behr [EMAIL PROTECTED] To: u2-users@listserver.u2ug.org Sent: Wednesday, January 12, 2005 7:08 PM Subject: [U2] [UV]Strange But True : Uv Version: UniVerse 10.1 : OS : Windows 2003 Server : : Can anybody explain. I wrote a small program and the result has baffeled me. : : Program: : : VAL1 = 43008E-112 : VAL2 = 43008E-108 : IF (VAL1 = VAL2) THEN :CRT THIS IS STRANGE : END : : It returns THIS IS STRANGE. Does anybody know why? : : Regards : Bjvrn Behr : Programmer : : HYFLO Southern Africa (Pty) Ltd : Tel : +27 11 386 5800 : Fax : +27 11 444 5391 : Mail: [EMAIL PROTECTED] : WWW : http://www.hyflo.co.za : : --- : u2-users mailing list : u2-users@listserver.u2ug.org : To unsubscribe please visit http://listserver.u2ug.org/ : : : : : -- : Internal Virus Database is out-of-date. : Checked by AVG Anti-Virus. : Version: 7.0.296 / Virus Database: 265.6.8 - Release Date: 3/01/2005 : : --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] [UV]Strange But True
Ohohohh! I like that solution! The previous language I coded in had two types of if commands one would convert it to a number if it could before doing the compare, the other would compare it as a string. I have been looking for a way to accomplish the same thing in Basic. Thanks! Thanks, Marilyn A. Hilb Value Part, Inc Direct: 847-918-6099 Fax: 847-367-1892 [EMAIL PROTECTED] www.valuepart.com -Original Message- From: Ian Renfrew [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 12, 2005 10:05 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] [UV]Strange But True Curious: If you want to perform string comparisons, such as comparing bin locations, why not: VAL1 = 43008E-112 VAL2 = 43008E-108 IF ( :VAL1 = :VAL2) THEN CRT THIS IS STRANGE END Regards, Ian R. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marilyn Hilb Sent: Wednesday, January 12, 2005 10:26 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] [UV]Strange But True I had this same problem with our bin locations that contained an E. I ended up swapping E for X before doing the compare to get the results I wanted. Thanks, Marilyn A. Hilb Value Part, Inc Direct: 847-918-6099 Fax: 847-367-1892 [EMAIL PROTECTED] www.valuepart.com -Original Message- From: Louis Windsor [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 12, 2005 6:20 AM To: u2-users@listserver.u2ug.org Subject:Re: [U2] [UV]Strange But True I don't know if it is intentional but the values you are comparing are exponential. So the comparison is of two incredibly small numbers. The numbers are so small they are equal for all intents or purposes. My 2c worth. Louis - Original Message - From: Bjorn Behr [EMAIL PROTECTED] To: u2-users@listserver.u2ug.org Sent: Wednesday, January 12, 2005 7:08 PM Subject: [U2] [UV]Strange But True : Uv Version: UniVerse 10.1 : OS : Windows 2003 Server : : Can anybody explain. I wrote a small program and the result has baffeled me. : : Program: : : VAL1 = 43008E-112 : VAL2 = 43008E-108 : IF (VAL1 = VAL2) THEN :CRT THIS IS STRANGE : END : : It returns THIS IS STRANGE. Does anybody know why? : : Regards : Bjvrn Behr : Programmer : : HYFLO Southern Africa (Pty) Ltd : Tel : +27 11 386 5800 : Fax : +27 11 444 5391 : Mail: [EMAIL PROTECTED] : WWW : http://www.hyflo.co.za : : --- : u2-users mailing list : u2-users@listserver.u2ug.org : To unsubscribe please visit http://listserver.u2ug.org/ : : : : : -- : Internal Virus Database is out-of-date. : Checked by AVG Anti-Virus. : Version: 7.0.296 / Virus Database: 265.6.8 - Release Date: 3/01/2005 : : -- Internal Virus Database is out-of-date. Checked by AVG Anti-Virus. Version: 7.0.296 / Virus Database: 265.6.8 - Release Date: 3/01/2005 --- 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/ -- Internal Virus Database is out-of-date. Checked by AVG Anti-Virus. Version: 7.0.289 / Virus Database: 265.6.5 - Release Date: 12/26/2004 -- Internal Virus Database is out-of-date. Checked by AVG Anti-Virus. Version: 7.0.289 / Virus Database: 265.6.5 - Release Date: 12/26/2004 --- 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/
RE: [U2] [UV]Strange But True
Try the COMPARE function. DLJ 0001 CRT COMPARE (43008E-112, 43008E-108) 0002 CRT COMPARE (A, A) 0003 CRT COMPARE (B, A) RUN BLIB DLJ 1 0 1 Donnie Jacobs Sr Developer GC Services LP 713-776-6503 [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Stern Sent: Wednesday, January 12, 2005 10:38 AM To: u2-users@listserver.u2ug.org Subject:Re: [U2] [UV]Strange But True But wait, it gets even weirder! If you do the following, to make sure there's no chance of the two strings acting as numeric: VAL1 = 43008E-112: and VAL2 = 43008E-108: the program still fails. When you REALLY make sure you're doing a string compare with IF (VAL1: = VAL2:) THEN it STILL FAILS! Oh well, I guess U2 has a mind of its own with regard to string compare. Note that the string compare works OK on most generic Pick platforms. Matthew H. Stern, CCP/CDP, [EMAIL PROTECTED] Serving the IT industry since 1976 Comprehensive Computer Services Inc. www.comprehensive.com Phone: 631 755-2250, Fax 755-2254 560 Broad Hollow Road, Melville NY 11747 Marilyn Hilb wrote: I had this same problem with our bin locations that contained an E. I ended up swapping E for X before doing the compare to get the results I wanted. Thanks, Marilyn A. Hilb Value Part, Inc Direct: 847-918-6099 Fax: 847-367-1892 [EMAIL PROTECTED] www.valuepart.com -Original Message- From: Louis Windsor [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 12, 2005 6:20 AM To:u2-users@listserver.u2ug.org Subject: Re: [U2] [UV]Strange But True I don't know if it is intentional but the values you are comparing are exponential. So the comparison is of two incredibly small numbers. The numbers are so small they are equal for all intents or purposes. My 2c worth. Louis - Original Message - From: Bjorn Behr [EMAIL PROTECTED] To:u2-users@listserver.u2ug.org Sent: Wednesday, January 12, 2005 7:08 PM Subject: [U2] [UV]Strange But True : Uv Version: UniVerse 10.1 : OS : Windows 2003 Server : : Can anybody explain. I wrote a small program and the result has baffeled me. : : Program: : : VAL1 = 43008E-112 : VAL2 = 43008E-108 : IF (VAL1 = VAL2) THEN :CRT THIS IS STRANGE : END : : It returns THIS IS STRANGE. Does anybody know why? : : Regards : Bjvrn Behr : Programmer : : HYFLO Southern Africa (Pty) Ltd : Tel : +27 11 386 5800 : Fax : +27 11 444 5391 : Mail: [EMAIL PROTECTED] : WWW : http://www.hyflo.co.za : : --- : u2-users mailing list : u2-users@listserver.u2ug.org : To unsubscribe please visit http://listserver.u2ug.org/ : : : : : -- : Internal Virus Database is out-of-date. : Checked by AVG Anti-Virus. : Version: 7.0.296 / Virus Database: 265.6.8 - Release Date: 3/01/2005 : : --- 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/
Re: [U2] [UV]Strange But True
In a message dated 1/12/2005 8:45:48 AM Pacific Standard Time, [EMAIL PROTECTED] writes: VAL1 = 43008E-112: and VAL2 = 43008E-108: the program still fails. Hold on Matt :) This doesn't do what you think it does imho. NOW if you use a blank instead of a null then it might work. Will --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] [UV]Strange But True
Concatenating a null to the numbers doesn't achieve anything they are unchanged and remain floating point numbers. Louis - Original Message - From: Matt Stern [EMAIL PROTECTED] To: u2-users@listserver.u2ug.org Sent: Thursday, January 13, 2005 12:38 AM Subject: Re: [U2] [UV]Strange But True : But wait, it gets even weirder! : : If you do the following, to make sure there's no chance of the two : strings acting as numeric: : : VAL1 = 43008E-112: : and : VAL2 = 43008E-108: : : the program still fails. When you REALLY make sure you're doing a string compare with : : IF (VAL1: = VAL2:) THEN : : it STILL FAILS! : : Oh well, I guess U2 has a mind of its own with regard to string compare. Note that the string compare works OK on most generic Pick platforms. : : Matthew H. Stern, CCP/CDP, [EMAIL PROTECTED] : Serving the IT industry since 1976 : Comprehensive Computer Services Inc. : www.comprehensive.com : Phone: 631 755-2250, Fax 755-2254 : 560 Broad Hollow Road, Melville NY 11747 : : : : Marilyn Hilb wrote: : : I had this same problem with our bin locations that contained an E. I ended up swapping E for X before doing the compare to get the results I wanted. : : Thanks, : : Marilyn A. Hilb : Value Part, Inc : Direct: 847-918-6099 : Fax: 847-367-1892 : [EMAIL PROTECTED] : www.valuepart.com : : -Original Message- : From: Louis Windsor [mailto:[EMAIL PROTECTED] : Sent: Wednesday, January 12, 2005 6:20 AM : To: u2-users@listserver.u2ug.org : Subject: Re: [U2] [UV]Strange But True : : I don't know if it is intentional but the values you are comparing : are exponential. : : So the comparison is of two incredibly small numbers. The : numbers are so small they are equal for all intents or purposes. : : My 2c worth. : : Louis : : : - Original Message - : From: Bjorn Behr [EMAIL PROTECTED] : To: u2-users@listserver.u2ug.org : Sent: Wednesday, January 12, 2005 7:08 PM : Subject: [U2] [UV]Strange But True : : : : Uv Version: UniVerse 10.1 : : OS : Windows 2003 Server : : : : Can anybody explain. I wrote a small program and the result has baffeled : me. : : : : Program: : : : : VAL1 = 43008E-112 : : VAL2 = 43008E-108 : : IF (VAL1 = VAL2) THEN : :CRT THIS IS STRANGE : : END : : : : It returns THIS IS STRANGE. Does anybody know why? : : : : Regards : : Bjvrn Behr : : Programmer : : : : HYFLO Southern Africa (Pty) Ltd : : Tel : +27 11 386 5800 : : Fax : +27 11 444 5391 : : Mail: [EMAIL PROTECTED] : : WWW : http://www.hyflo.co.za : : : : --- : : u2-users mailing list : : u2-users@listserver.u2ug.org : : To unsubscribe please visit http://listserver.u2ug.org/ : : : : : : : : : : -- : : Internal Virus Database is out-of-date. : : Checked by AVG Anti-Virus. : : Version: 7.0.296 / Virus Database: 265.6.8 - Release Date: 3/01/2005 : : : : : --- : u2-users mailing list : u2-users@listserver.u2ug.org : To unsubscribe please visit http://listserver.u2ug.org/ : : : : : -- : Internal Virus Database is out-of-date. : Checked by AVG Anti-Virus. : Version: 7.0.296 / Virus Database: 265.6.8 - Release Date: 3/01/2005 : : -- Internal Virus Database is out-of-date. Checked by AVG Anti-Virus. Version: 7.0.296 / Virus Database: 265.6.8 - Release Date: 3/01/2005 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] [UV]Strange But True
You could concatenate a Z then, guaranteed to be interpreted as a string. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Louis Windsor Sent: Wednesday, January 12, 2005 16:13 To: u2-users@listserver.u2ug.org Subject: Re: [U2] [UV]Strange But True Concatenating a null to the numbers doesn't achieve anything they are unchanged and remain floating point numbers. Louis - Original Message - From: Matt Stern [EMAIL PROTECTED] To: u2-users@listserver.u2ug.org Sent: Thursday, January 13, 2005 12:38 AM Subject: Re: [U2] [UV]Strange But True : But wait, it gets even weirder! : : If you do the following, to make sure there's no chance of the two : strings acting as numeric: : : VAL1 = 43008E-112: : and : VAL2 = 43008E-108: : : the program still fails. When you REALLY make sure you're doing a string compare with : : IF (VAL1: = VAL2:) THEN : : it STILL FAILS! : : Oh well, I guess U2 has a mind of its own with regard to string compare. Note that the string compare works OK on most generic Pick platforms. : : Matthew H. Stern, CCP/CDP, [EMAIL PROTECTED] : Serving the IT industry since 1976 : Comprehensive Computer Services Inc. : www.comprehensive.com : Phone: 631 755-2250, Fax 755-2254 : 560 Broad Hollow Road, Melville NY 11747 : : : : Marilyn Hilb wrote: : : I had this same problem with our bin locations that contained an E. I ended up swapping E for X before doing the compare to get the results I wanted. : : Thanks, : : Marilyn A. Hilb : Value Part, Inc : Direct: 847-918-6099 : Fax: 847-367-1892 : [EMAIL PROTECTED] : www.valuepart.com : : -Original Message- : From: Louis Windsor [mailto:[EMAIL PROTECTED] : Sent: Wednesday, January 12, 2005 6:20 AM : To: u2-users@listserver.u2ug.org : Subject: Re: [U2] [UV]Strange But True : : I don't know if it is intentional but the values you are comparing : are exponential. : : So the comparison is of two incredibly small numbers. The : numbers are so small they are equal for all intents or purposes. : : My 2c worth. : : Louis : : : - Original Message - : From: Bjorn Behr [EMAIL PROTECTED] : To: u2-users@listserver.u2ug.org : Sent: Wednesday, January 12, 2005 7:08 PM : Subject: [U2] [UV]Strange But True : : : : Uv Version: UniVerse 10.1 : : OS : Windows 2003 Server : : : : Can anybody explain. I wrote a small program and the result has baffeled : me. : : : : Program: : : : : VAL1 = 43008E-112 : : VAL2 = 43008E-108 : : IF (VAL1 = VAL2) THEN : :CRT THIS IS STRANGE : : END : : : : It returns THIS IS STRANGE. Does anybody know why? : : : : Regards : : Bjvrn Behr : : Programmer : : : : HYFLO Southern Africa (Pty) Ltd : : Tel : +27 11 386 5800 : : Fax : +27 11 444 5391 : : Mail: [EMAIL PROTECTED] : : WWW : http://www.hyflo.co.za : : : : --- : : u2-users mailing list : : u2-users@listserver.u2ug.org : : To unsubscribe please visit http://listserver.u2ug.org/ : : : : : : : : : : -- : : Internal Virus Database is out-of-date. : : Checked by AVG Anti-Virus. : : Version: 7.0.296 / Virus Database: 265.6.8 - Release Date: 3/01/2005 : : : : : --- : u2-users mailing list : u2-users@listserver.u2ug.org : To unsubscribe please visit http://listserver.u2ug.org/ : : : : : -- : Internal Virus Database is out-of-date. : Checked by AVG Anti-Virus. : Version: 7.0.296 / Virus Database: 265.6.8 - Release Date: 3/01/2005 : : -- Internal Virus Database is out-of-date. Checked by AVG Anti-Virus. Version: 7.0.296 / Virus Database: 265.6.8 - Release Date: 3/01/2005 --- 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/
RE: [U2] [UV]Strange But True
Thanks all. They were both part numbers on our system, but returned as the same part number. This must have been due to UniVerse seeing it as a number not a string. We got around this problem by goint if (val1:x = val2:x) then Thanks all for your help Regards Bjorn -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Behr Sent: 12 January 2005 01:08 To: u2-users@listserver.u2ug.org Subject: [U2] [UV]Strange But True Uv Version: UniVerse 10.1 OS : Windows 2003 Server Can anybody explain. I wrote a small program and the result has baffeled me. Program: VAL1 = 43008E-112 VAL2 = 43008E-108 IF (VAL1 = VAL2) THEN CRT THIS IS STRANGE END It returns THIS IS STRANGE. Does anybody know why? Regards Bjvrn Behr Programmer HYFLO Southern Africa (Pty) Ltd Tel : +27 11 386 5800 Fax : +27 11 444 5391 Mail: [EMAIL PROTECTED] WWW : http://www.hyflo.co.za --- 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/