Compiler setting for accurate math?
#12
Thumbs Up 
(11-30-2022, 08:42 PM)justsomeguy Wrote: You could try for the same effect.
Code: (Select All)
DIM x AS INTEGER
FOR x = 100 TO 5 STEP -5
  PRINT x / 100
  _DELAY x / 100
NEXT x

@justsomeguy had the workaround in first reply. I had to work my way up to it this morning to see why!

And I saw in another thread a version of this thread subject, Steve offering the same.

FOR loop structure may be the most Basic but not the most efficient.
b = b + ...
Reply


Messages In This Thread
RE: Compiler setting for accurate math? - by Jack - 11-30-2022, 11:48 PM
RE: Compiler setting for accurate math? - by Pete - 12-01-2022, 04:26 AM
RE: Compiler setting for accurate math? - by Pete - 12-01-2022, 10:43 AM
RE: Compiler setting for accurate math? - by Pete - 12-01-2022, 04:52 PM
RE: Compiler setting for accurate math? - by bplus - 12-01-2022, 08:40 PM
RE: Compiler setting for accurate math? - by Pete - 12-01-2022, 10:16 PM



Users browsing this thread: 5 Guest(s)