Welcome to the forum...............
Anything is possible using AS Language due to it's power and flexibility.
However, it is rare to find working examples in Kawasaki documentation.
IF (SIG(1)==TRUE) THEN
air.press = TRUE
ELSE
air.press = FALSE
END
Have a look for the IF......THEN........ELSE.........END in the AS Manual, there are many variations that can be applied, but a simple IF/ELSE/END should suffice.