That is not bug. That way should work. This : is same as new row.
So this line
Code:
if ticker>150 and ard<140 and atrig=0 then ticker=1: atrig=1
is same as this

Code:
if ticker>150 and ard<140 and atrig=0 then ticker=1

atrig=1
I'm using PBP since 2004. And I found only one bug in pbp, and encounter multiple in MPASM.... DT helped me a lot to track bug to MPASM...