VOR_1_To_From Variable

Returns 0 if VOR1 is off, 1 if VOR1 shows a TO course, and 2 if VOR1 shows a FROM course. Read-only.

Example

DECLARE cVOR_Off, cVOR_To, cVOR_From

cVOR_Off = 0

cVOR_To = 1

cVOR_From = 2

'Set outbound radial after passing station.

IF INRANGE(VOR_1_DME, 0.1, 1.0) AND VOR_1_TO_FROM = cVOR_From THEN

'Passed station, set outbound radial.

VOR_1_OBS = 135

ENDIF