VOR_2_To_From Variable

Returns 0 if VOR2 is off, 1 if VOR2 shows a TO course, and 2 if VOR2 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_2_DME, 0.1, 1.0) AND VOR_2_TO_FROM = cVOR_From THEN

'Passed station, set outbound radial.

VOR_2_OBS = 135

ENDIF