STRIG Function Programming Example The following example illustrates STRIG: ' *** STRIG function programming example *** ' Do not attempt to run this program without a joystick installed ' ' Wait for trigger A to be pressed. DO GotATrig = STRIG(0) LOOP UNTIL GotATrig ' As long as trigger A is down, beep. DO GotATrig = STRIG(1) BEEP LOOP WHILE GotATrig