RNP

RPN

(M:Event, string) 'LeftSingle' scmp 0 == if{ (M:X) (>L:LastPos) } (M:Event, string) 'WheelUp' scmp 0 == if{ 0 (>K:RUDDER_TRIM_RIGHT) } (M:Event, string) 'WheelDown' scmp 0 == if{ 0 (>K:RUDDER_TRIM_LEFT) } (M:Event, string) 'LeftDrag' scmp 0 == if{ (M:X, number) (L:LastPos, number) - 5 > if{ (L:RudderTrimtabPos, number) 2 + (>L:RudderTrimtabPos, number) (M:X) (>L:LastPos) } (M:X, number) (L:LastPos, number) - -5 < if{ (L:RudderTrimtabPos, number) 2 - (>L:RudderTrimtabPos, number) (M:X) (>L:LastPos) } } (A:GENERAL ENG THROTTLE LEVER POSITION:#ID#, percent) sp0 l0 0 > if{ l0 0 - 100 25 - * 100 0 - / 25 + } els{ l0 -20 - 25 0 - * 100 -20 - / 0 + } (>L:MY_THROTTLE) 'hello, world' uc (>L:Hello) #ID# 1 == if{ } #MORE_LOGIC#