Thank you all for your contribution. I still need your advice to figure this out. I have to transfer a few thousand lines of code that works fine in other compiler and I must fully understand the conversion.
You use the L when you make any use of 32bit constants? (Even in the initialization, and on 0) Same with doubles even they have fraction? double r = 0.0L; double d = 0.0L; double m=10L, h=10L, i; i = m + h / 24.0L; i += 10L + h; m = (i - 5544.5L) / 12225L; By the way I must have L on both variables. tmpY = 2008L * 367L; // (this one does not give the correct value -> 2008L * 367) -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/