Page 1 of 1

-topic moved-

Posted: 10 Jun 2018, 07:09
by Yaosr
-topic moved-

Re: Search for pixel x,y, add +20 to x - another attempt

Posted: 10 Jun 2018, 07:19
by wolf_II
Repair: try swapping first line with second line. untested.
Reason: no point of calculating MyVar without FIRST knowing a value for Px.

Re: Search for pixel x,y, add +20 to x - another attempt

Posted: 10 Jun 2018, 09:30
by SirRFI
wolf_II wrote:Repair: try swapping first line with second line. untested.
Reason: no point of calculating MyVar without FIRST knowing a value for Px.
↑ This. At the moment you calculate it, it's 0 + 20, because Px is unknown at the time.
Alternatively make a function.