OCCUR = 1649329259: Scale = 16777216: YPOINTS = 350
Compare1 = OCCUR - YPOINTS * Scale
Compare2 = OCCUR >= YPOINTS * Scale
PRINT "OCCUR="; OCCUR;
"Scale="; Scale;
"YPOINTS="; YPOINTS
PRINT "Why is OCCUR - YPOINTS * Scale ="; Compare1;
" & not ";
-4222696341;
"?" PRINT "Why is OCCUR >= YPOINTS * Scale = "; Compare2;
"(TRUE) & not"; FALSE;
"(FALSE)";
"?" PRINT "In Numbers: ";
1649329259 - 16777216 * 350 PRINT "By replacing IF (OCCUR>=YPOINTS*Scale) by IF (OCCUR/Scale>=YPOINTS), it works OK"
PRINT "press any to continue..."
OCCUR = 1649329259: Scale = 16777216: YPOINTS = 350