[Oberon] Input.Timer in Native Oberon
Paul Reed
paulreed at paddedcell.com
Thu Jan 28 20:16:01 CET 2016
>> For time interval counter0, the displacement increment is
>> i := counter0 DIV (100 DIV 12)+1;
>>
>> Isn't 100 DIV 12 always 8? Why not this arithmetic?
>> i := counter0 DIV 8+1;
>
> Usually the compiler does this. The object code should be the same.
But not if it's
i := counter0 DIV 100 * 12 + 1;
so the original "why" still stands, right? :)
Cheers,
Paul
More information about the Oberon
mailing list