| From | "Udo Barthel" <info@pcds.de> |
| Date | Thu, 14 Dec 2000 19:07:35 +0100 |
Error in Multiplication if the result is in the value range of a long variable: LONG = BYTE * CONST ... works o.k. LONG = WORD * CONST .... gives bad results Its obvious that the math is not performed in the value range of the target variable if a word variable is used. But why does it seems to work with a byte variable? Thats inconsistent. _____________________________ With best regards / Udo Barthel The statements and opinions expressed here are my own and do not necessarily those of PCDS software GmbH. visit us at <http://www.pcds.de> Phone: +(30)41.09.02-0 Fax: -99
Attachment:
error_test.BAS
Description: Binary data