(L:G500_PageMenuNoOptions, bool)
if{ quit }
(L:G500_MFDCursorMode, bool)
if{ (L:G500_PageMenuSetup, bool)
if{ (L:G500_MFDCursorPosition, number) 1 >
if{ (L:G500_MFDCursorPosition, number) -- (>L:G500_MFDCursorPosition, number) }
quit
}
(L:G500_MFDPage, number) 1 ==
if{ (L:G500_PageMenuMapSetupDefaults, bool) !
if{ (L:G500_PageMenuMapSetup, bool)
if{ (L:G500_MapSetupGroup, bool)
if{ (L:G500_MFDCursorPosition, number) 1 ==
if{ (L:G500_MapSetupGroup, bool) ! (>L:G500_MapSetupGroup, bool) }
(L:G500_MFDCursorPosition, number) 2 ==
if{ (L:G500_MFDMap1INTNDBRange, number) 11 >
if{ (L:G500_MFDMap1INTNDBRange, number) -- (>L:G500_MFDMap1INTNDBRange, number) }
els{ 0 (>L:G500_MFDMap1INTNDBRange, number) }
}
(L:G500_MFDCursorPosition, number) 3 ==
if{ (L:G500_MFDMap1VORRange, number) 17 >
if{ (L:G500_MFDMap1VORRange, number) -- (>L:G500_MFDMap1VORRange, number) }
els{ 0 (>L:G500_MFDMap1VORRange, number) }
}
(L:G500_MFDCursorPosition, number) 4 ==
if{ (L:G500_MFDMap1AirspaceRange, number) 18 >
if{ (L:G500_MFDMap1AirspaceRange, number) -- (>L:G500_MFDMap1AirspaceRange, number) }
els{ 0 (>L:G500_MFDMap1AirspaceRange, number) }
}
(L:G500_MFDCursorPosition, number) 5 ==
if{ (L:G500_MFDMap1Airways, number) -- (>L:G500_MFDMap1Airways, number)
(L:G500_MFDMap1Airways, number) 0 < if{ 3 (>L:G500_MFDMap1Airways, number) }
}
quit
}
els{ (L:G500_MFDCursorPosition, number) 1 ==
if{ (L:G500_MapSetupGroup, bool) ! (>L:G500_MapSetupGroup, bool) }
(L:G500_MFDCursorPosition, number) 2 ==
if{ (L:G500_MFDMap1Orientation, number) -- (>L:G500_MFDMap1Orientation, number)
(L:G500_MFDMap1Orientation, number) 0 < if{ 3 (>L:G500_MFDMap1Orientation, number) }
}
(L:G500_MFDCursorPosition, number) 3 ==
if{ (L:G500_MFDMap1NorthUpAt, number) 17 >
if{ (L:G500_MFDMap1NorthUpAt, number) -- (>L:G500_MFDMap1NorthUpAt, number) }
}
(L:G500_MFDCursorPosition, number) 4 ==
if{ (L:G500_MFDMap1AutoZoom, bool) ! (>L:G500_MFDMap1AutoZoom, bool)
0 (>L:G500_MFDMap1AutoZoomTempDisable, bool)
}
(L:G500_MFDCursorPosition, number) 5 ==
if{ (L:G500_MFDMap1WindVector, bool) ! (>L:G500_MFDMap1WindVector, bool) }
(L:G500_MFDCursorPosition, number) 6 ==
if{ (L:G500_MFDMap1NavRing, bool) ! (>L:G500_MFDMap1NavRing, bool) }
(L:G500_MFDCursorPosition, number) 7 ==
if{ (L:G500_MFDMap1Topo, bool) ! (>L:G500_MFDMap1Topo, bool) }
(L:G500_MFDCursorPosition, number) 8 ==
if{ (L:G500_MFDMap1TopoScale, bool) ! (>L:G500_MFDMap1TopoScale, bool) }
quit
}
}
}
els{ (L:G500_PreviousMFDCursorPosition, number) 1 ==
if{ (L:G500_MFDCursorPosition, number) 2 >
if{ (L:G500_MFDCursorPosition, number) -- (>L:G500_MFDCursorPosition, number) }
}
els{ (L:G500_MFDCursorPosition, number) 1 >
if{ (L:G500_MFDCursorPosition, number) -- (>L:G500_MFDCursorPosition, number) }
}
}
}
(L:G500_MFDPage, number) 2 ==
if{ (L:G500_PageMenuMapSetupDefaults, bool) !
if{ (L:G500_PageMenuMapSetup, bool)
if{ (L:G500_MapSetupGroup, bool)
if{ (L:G500_MFDCursorPosition, number) 1 ==
if{ (L:G500_MapSetupGroup, bool) ! (>L:G500_MapSetupGroup, bool) }
(L:G500_MFDCursorPosition, number) 2 ==
if{ (L:G500_MFDMap2INTNDBRange, number) 11 >
if{ (L:G500_MFDMap2INTNDBRange, number) -- (>L:G500_MFDMap2INTNDBRange, number) }
els{ 0 (>L:G500_MFDMap2INTNDBRange, number) }
}
(L:G500_MFDCursorPosition, number) 3 ==
if{ (L:G500_MFDMap2VORRange, number) 17 >
if{ (L:G500_MFDMap2VORRange, number) -- (>L:G500_MFDMap2VORRange, number) }
els{ 0 (>L:G500_MFDMap2VORRange, number) }
}
(L:G500_MFDCursorPosition, number) 4 ==
if{ (L:G500_MFDMap2AirspaceRange, number) 18 >
if{ (L:G500_MFDMap2AirspaceRange, number) -- (>L:G500_MFDMap2AirspaceRange, number) }
els{ 0 (>L:G500_MFDMap2AirspaceRange, number) }
}
(L:G500_MFDCursorPosition, number) 5 ==
if{ (L:G500_MFDMap2Airways, number) -- (>L:G500_MFDMap2Airways, number)
(L:G500_MFDMap2Airways, number) 0 < if{ 3 (>L:G500_MFDMap2Airways, number) }
}
quit
}
els{ (L:G500_MFDCursorPosition, number) 1 ==
if{ (L:G500_MapSetupGroup, bool) ! (>L:G500_MapSetupGroup, bool) }
(L:G500_MFDCursorPosition, number) 2 ==
if{ (L:G500_MFDMap2Orientation, number) -- (>L:G500_MFDMap2Orientation, number)
(L:G500_MFDMap2Orientation, number) 0 < if{ 3 (>L:G500_MFDMap2Orientation, number) }
}
(L:G500_MFDCursorPosition, number) 3 ==
if{ (L:G500_MFDMap2NorthUpAt, number) 17 >
if{ (L:G500_MFDMap2NorthUpAt, number) -- (>L:G500_MFDMap2NorthUpAt, number) }
}
(L:G500_MFDCursorPosition, number) 4 ==
if{ (L:G500_MFDMap2AutoZoom, bool) ! (>L:G500_MFDMap2AutoZoom, bool)
0 (>L:G500_MFDMap2AutoZoomTempDisable, bool)
}
(L:G500_MFDCursorPosition, number) 5 ==
if{ (L:G500_MFDMap2WindVector, bool) ! (>L:G500_MFDMap2WindVector, bool) }
(L:G500_MFDCursorPosition, number) 6 ==
if{ (L:G500_MFDMap2NavRing, bool) ! (>L:G500_MFDMap2NavRing, bool) }
(L:G500_MFDCursorPosition, number) 7 ==
if{ (L:G500_MFDMap2Topo, bool) ! (>L:G500_MFDMap2Topo, bool) }
(L:G500_MFDCursorPosition, number) 8 ==
if{ (L:G500_MFDMap2TopoScale, bool) ! (>L:G500_MFDMap2TopoScale, bool) }
quit
}
}
}
els{ (L:G500_PreviousMFDCursorPosition, number) 1 ==
if{ (L:G500_MFDCursorPosition, number) 2 >
if{ (L:G500_MFDCursorPosition, number) -- (>L:G500_MFDCursorPosition, number) }
}
els{ (L:G500_MFDCursorPosition, number) 1 >
if{ (L:G500_MFDCursorPosition, number) -- (>L:G500_MFDCursorPosition, number) }
}
}
}
(L:G500_MFDPage, number) 3 ==
if{ (L:G500_MFDCursorPosition, number) 1 ==
if{ (L:G500_DisplayBrightness, number) 1 >
if{ (L:G500_DisplayBrightness, number) -- (>L:G500_DisplayBrightness, number) }
0 (>L:G500_AutoBrightness, bool)
}
(L:G500_MFDCursorPosition, number) 2 ==
if{ (L:G500_AutoBrightness, bool) ! (>L:G500_AutoBrightness, bool) }
(L:G500_MFDCursorPosition, number) 3 ==
if{ (L:G500_Vbg, knots) 0 > if{ (L:G500_Vbg, knots) -- (>L:G500_Vbg, knots) } }
(L:G500_MFDCursorPosition, number) 4 ==
if{ 0 (>L:G500_VbgOn, bool) }
(L:G500_MFDCursorPosition, number) 5 ==
if{ (L:G500_Vr, knots) 0 > if{ (L:G500_Vr, knots) -- (>L:G500_Vr, knots) } }
(L:G500_MFDCursorPosition, number) 6 ==
if{ 0 (>L:G500_VrOn, bool) }
(L:G500_MFDCursorPosition, number) 7 ==
if{ (L:G500_Vx, knots) 0 > if{ (L:G500_Vx, knots) -- (>L:G500_Vx, knots) } }
(L:G500_MFDCursorPosition, number) 8 ==
if{ 0 (>L:G500_VxOn, bool) }
(L:G500_MFDCursorPosition, number) 9 ==
if{ (L:G500_Vy, knots) 0 > if{ (L:G500_Vy, knots) -- (>L:G500_Vy, knots) } }
(L:G500_MFDCursorPosition, number) 10 ==
if{ 0 (>L:G500_VyOn, bool) }
(L:G500_MFDCursorPosition, number) 11 ==
if{ (L:G500_WindStyle, number) 0 > if{ (L:G500_WindStyle, number) -- (>L:G500_WindStyle, number) } }
(L:G500_MFDCursorPosition, number) 12 ==
if{ (L:G500_TimeMode, number) 0 > if{ (L:G500_TimeMode, number) -- (>L:G500_TimeMode, number) } }
(L:G500_MFDCursorPosition, number) 13 ==
if{ (L:G500_TimeOffset, number) -23 > if{ (L:G500_TimeOffset, number) -- (>L:G500_TimeOffset, number) } }
(L:G500_MFDCursorPosition, number) 14 ==
if{ (L:G500_DisSpdUnits, number) 0 > if{ (L:G500_DisSpdUnits, number) -- (>L:G500_DisSpdUnits, number) } }
(L:G500_MFDCursorPosition, number) 15 ==
if{ (L:G500_AltVsUnits, number) 0 > if{ (L:G500_AltVsUnits, number) -- (>L:G500_AltVsUnits, number) } }
(L:G500_MFDCursorPosition, number) 16 ==
if{ (L:G500_NavAngleTrue, bool) ! (>L:G500_NavAngleTrue, bool) }
(L:G500_MFDCursorPosition, number) 17 ==
if{ (L:G500_PressHPA, bool) ! (>L:G500_PressHPA, bool) }
(L:G500_MFDCursorPosition, number) 18 ==
if{ (L:G500_TempFahrenheit, bool) ! (>L:G500_TempFahrenheit, bool) }
}
(L:G500_MFDPage, number) 5 ==
if{ (L:G500_MFDCursorPosition, number) 1 ==
if{ (L:G500_SelectedFPWPIndex, number) 0 >
if{ (L:G500_SelectedFPWPIndex, number) -- (>L:G500_SelectedFPWPIndex, number) }
}
(L:G500_MFDCursorPosition, number) 3 ==
if{ (L:G500_EnteringMinimums, bool) !
if{ 1 (>L:G500_EnteringMinimums, bool)
1 (>L:G500_MinimumsCursorPosition, number)
}
els{ (L:G500_MinimumsCursorPosition, number) 1 ==
if{ (L:G500_MinimumAltitude, number) 1000 - (>L:G500_MinimumAltitude, number) }
(L:G500_MinimumsCursorPosition, number) 2 ==
if{ (L:G500_MinimumAltitude, number) 100 - (>L:G500_MinimumAltitude, number) }
(L:G500_MinimumsCursorPosition, number) 3 ==
if{ (L:G500_MinimumAltitude, number) 10 - (>L:G500_MinimumAltitude, number) }
(L:G500_MinimumsCursorPosition, number) 4 ==
if{ (L:G500_MinimumAltitude, number) 1 - (>L:G500_MinimumAltitude, number) }
(L:G500_MinimumAltitude, number) 0 <
if{ 0 (>L:G500_MinimumAltitude, number) }
}
}
}
(L:G500_MFDPage, number) 6 ==
if{ (L:G500_ResolveMultiples, bool)
if{ (L:G500_SelectedDuplicate, number) 1 >
if{ (L:G500_SelectedDuplicate, number) -- (>L:G500_SelectedDuplicate, number)
(L:G500_SelectedDuplicate, number) 1 - (>@c:IcaoSearchMatchedIcao)
(@c:IcaoSearchCurrentICAO, string) (>@c:FacilityICAO)
}
}
els{ (L:G500_EnteringInput, number) 0 ==
if{ (L:G500_MFDCursorPosition, number) 1 ==
if{ (@c:FacilityICAO) (>@c:IcaoSearchInitialIcao)
'AVNWX' (>@c:IcaoSearchStartCursor)
1 (>L:G500_EnteringInput, number)
0 (>@c:IcaoSearchMatchedIcao)
}
(L:G500_MFDCursorPosition, number) 2 ==
if{ (@c:WaypointAirportCurrentRunway, enum) 0 >
if{ (@c:WaypointAirportCurrentRunway, enum) -- (>@c:WaypointAirportCurrentRunway, enum) }
}
(L:G500_MFDCursorPosition, number) 3 ==
if{ (L:G500_SelectedFrequencyIndex, number) 0 >
if{ (L:G500_SelectedFrequencyIndex, number) -- (>L:G500_SelectedFrequencyIndex, number) }
}
}
els{ -1 (>@c:IcaoSearchAdvanceCharacter) }
}
}
}
els{ (L:G500_MFDGroup, number) 0 ==
if{ (L:G500_MFDMapPage, number) 0 > if{ (L:G500_MFDMapPage, number) 1 - (>L:G500_MFDMapPage, number) } }
(L:G500_MFDGroup, number) 1 ==
if{ (L:G500_MFDAuxPage, number) 0 > if{ (L:G500_MFDAuxPage, number) 1 - (>L:G500_MFDAuxPage, number) } }
(L:G500_MFDGroup, number) 2 ==
if{ (L:G500_MFDFplPage, number) 0 >
if{ (L:G500_MFDFplPage, number) 1 - (>L:G500_MFDFplPage, number) }
0 (>L:G500_WaypointPagePopup, bool)
}
0 (>L:G500_MFDCursorPosition, number)
}