8 lines
508 B
Plaintext
8 lines
508 B
Plaintext
a=5 b=7 c=2 if :brake then :cruise=10 :fcuforward=0 goto2 end goto1
|
|
if :spd=="Error !!" then goto3 end if :spd>20 then :fcuf=-100 goto1end
|
|
if:spd=="Error !!" then:fcuf=0 goto1end if:spd>0 thengoto4elsegoto7end
|
|
if :spd>a and :Brake then :fcuf=-(:spd*c) goto4 else goto5 end
|
|
if :spd>0 and :Brake then :fcuf=-:Spd goto5 else goto6 end
|
|
if :spd==0 or :brake==0 then :brake=0 :fcuf=0 end goto1
|
|
if:spd<0 and :brake then:fcuf=(:spd-:spd-:spd) goto7elsegoto8end
|
|
if :spd==0 or :brake==0 then :brake=0 :fcuf=0 end goto1 |