Code:
Tmax=Tmax*100  you cannot do this ,Tmax is a byte var
      
If temperature > Tmax then
rele=1
else
rele=0
Endif
                                
goto main

this will work the pbp inline intermediate results are word sized
Code:
If temperature > (Tmax*100) then
rele=1
else
rele=0
Endif