Wide0 should have no bearing on numbers in that range. The Wide0 problem that I've encountered is when values do look (and print) the same and an equality comparison fails (not the other way around).
Are you sure COST.VISIBLE is true? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joey Walter Sent: Thursday, 2 March 2006 8:30 AM To: [email protected] Subject: [U2] UV: tests for inequality failing. Wide0 parameter? I'm having a problem with comparisons for equality between variables failing. Very simple code: IF COST # COST.WAS THEN IF COST.VISIBLE THEN GOSUB SHOW.COST END And I'm expecting of course for the gosub to be executed when I know for certain the variables COST and COST.WAS are not equal - but it doesn't happen. For instance the test for inequality fails when the variable COST = 1505 and variable COST.WAS = 1507. I wrote a line of code to display the OCONV'd variables and in the case mentioned above it displayed this: recalc.unit.cost; cost was 15.07 cost is 15.05 But, the subroutine to display the new cost did not get executed. Anyway, I'm guessing it's a problem with that bizarre little parameter called Wide0? I currently have it set to 0x3eb00000. Why do I have it set that way - purely because I had problems with the default setting and someone tossed me a clue and told me to try 0x3eb00000 and I never had problems since on my development machine or any other - until now. Anyone that can help me out with this? What's a reasonable/functional setting for Wide0 parameter. I don't need accuracy past six decimal places. Thanks. ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/ DISCLAIMER: Disclaimer. This e-mail is private and confidential. If you are not the intended recipient, please advise us by return e-mail immediately, and delete the e-mail and any attachments without using or disclosing the contents in any way. The views expressed in this e-mail are those of the author, and do not represent those of this company unless this is clearly indicated. You should scan this e-mail and any attachments for viruses. This company accepts no liability for any direct or indirect damage or loss resulting from the use of any attachments to this e-mail. ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
