[Oberon] Input.Timer in Native Oberon

peter at easthope.ca peter at easthope.ca
Thu Jan 28 19:28:20 CET 2016


>From joerg.straube at iaeth.ch  Tue Jan 12 11:31:53 2016
> I like to move around the caret with my keyboard instead of the mouse ...

Input.Timer translates keypad arrow activation (KP-Right for example) 
to a displacement (INC(kdx, i) for example).

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;

Thanks,                                 ... Lyall E.

-- 
123456789 123456789 123456789 123456789 123456789 123456789 123456789 12
Tel +1 360 639 0202 
http://easthope.ca/Peter.html Bcc: peter at easthope. ca



More information about the Oberon mailing list