<Macro Name="Button10">(L:DAT49 mode,enum) 2 == if{ (>K:NAV2_RADIO_SWAP) }
(L:DAT49 mode,enum) 4 == (L:Display mode,enum) 0 == and
if{ 0 (>@c:FlightPlanWaypointIndex)
1 (>@c:FlightPlanDirectToDestination)
1 (@c:FlightPlanWaypointIndex) (>@c:FlightPlanDeleteDirectTo)
0 (@c:FlightPlanWaypointIndex) (>@c:FlightPlanDeleteWaypoint) }
(L:DAT49 mode,enum) 4 == (L:Display mode,enum) 1 == (L:LLAptVorNdbInt,enum) 0 == (L:TypEntry, enum) 0 == and and and
if{ (L:KoalaLatitude, degrees) (>@c:FlightPlanNewWaypointLatitude, degrees)
(L:KoalaLongitude, degrees) (>@c:FlightPlanNewWaypointLongitude, degrees)
'RDR' (L:F111_Wpt_Sum, number) near scat (>@c:FlightPlanNewWaypointIdent)
(L:F111_Wpt_Sum, number) (>@c:FlightPlanAddWaypoint) }
(L:DAT49 mode,enum) 4 == (L:Display mode,enum) 1 == (L:LLAptVorNdbInt,enum) 0 == (L:TypEntry, enum) 1 == and and and
if{ 0 (>@c:FlightPlanWaypointIndex)
(L:KoalaLatitude, degrees) (>@c:FlightPlanNewWaypointLatitude, degrees)
(L:KoalaLongitude, degrees) (>@c:FlightPlanNewWaypointLongitude, degrees)
'RDR' (L:F111_Wpt_Sum, number) near scat (>@c:FlightPlanNewWaypointIdent)
1 (>@c:FlightPlanDirectToDestination) }
(L:DAT49 mode,enum) 4 == (L:Display mode,enum) 1 == (L:LLAptVorNdbInt,enum) 0 == (L:TypEntry, enum) 2 == and and and
if{ (L:KoalaLatitude, degrees) (>@c:FlightPlanNewWaypointLatitude, degrees)
(L:KoalaLongitude, degrees) (>@c:FlightPlanNewWaypointLongitude, degrees)
'RDR' (L:F111_Wpt_Sum, number) near scat (>@c:FlightPlanNewWaypointIdent)
(L:F111_Wpt_Sum, number) (>@c:FlightPlanAddWaypoint)
(L:F111_Wpt_Sum, number) 1 + (>@c:FlightPlanDeleteWaypoint) }
(L:DAT49 mode,enum) 4 == (L:Display mode,enum) 1 == (L:LLAptVorNdbInt,enum) 1 == (L:TypEntry, enum) 0 == and and and
if{ (@c:NearestAirportCurrentICAO) (>@c:FlightPlanNewWaypointICAO)
(L:F111_Wpt_Sum, number) (>@c:FlightPlanAddWaypoint) }
(L:DAT49 mode,enum) 4 == (L:Display mode,enum) 1 == (L:LLAptVorNdbInt,enum) 1 == (L:TypEntry, enum) 1 == and and and
if{ 0 (>@c:FlightPlanWaypointIndex)
(@c:NearestAirportCurrentICAO) (>@c:FlightPlanNewWaypointICAO)
1 (>@c:FlightPlanDirectToDestination) }
(L:DAT49 mode,enum) 4 == (L:Display mode,enum) 1 == (L:LLAptVorNdbInt,enum) 1 == (L:TypEntry, enum) 2 == and and and
if{ (@c:NearestAirportCurrentICAO) (>@c:FlightPlanNewWaypointICAO)
(L:F111_Wpt_Sum, number) (>@c:FlightPlanAddWaypoint)
(L:F111_Wpt_Sum, number) 1 + (>@c:FlightPlanDeleteWaypoint) }
(L:DAT49 mode,enum) 4 == (L:Display mode,enum) 1 == (L:LLAptVorNdbInt,enum) 2 == (L:TypEntry, enum) 0 == and and and
if{ (@c:NearestVorCurrentICAO) (>@c:FlightPlanNewWaypointICAO)
(L:F111_Wpt_Sum, number) (>@c:FlightPlanAddWaypoint) }
(L:DAT49 mode,enum) 4 == (L:Display mode,enum) 1 == (L:LLAptVorNdbInt,enum) 2 == (L:TypEntry, enum) 1 == and and and
if{ 0 (>@c:FlightPlanWaypointIndex)
(@c:NearestVorCurrentICAO) (>@c:FlightPlanNewWaypointICAO)
1 (>@c:FlightPlanDirectToDestination) }
(L:DAT49 mode,enum) 4 == (L:Display mode,enum) 1 == (L:LLAptVorNdbInt,enum) 2 == (L:TypEntry, enum) 2 == and and and
if{ (@c:NearestVorCurrentICAO) (>@c:FlightPlanNewWaypointICAO)
(L:F111_Wpt_Sum, number) (>@c:FlightPlanAddWaypoint)
(L:F111_Wpt_Sum, number) 1 + (>@c:FlightPlanDeleteWaypoint) }
(L:DAT49 mode,enum) 4 == (L:Display mode,enum) 1 == (L:LLAptVorNdbInt,enum) 3 == (L:TypEntry, enum) 0 == and and and
if{ (@c:NearestNdbCurrentICAO) (>@c:FlightPlanNewWaypointICAO)
(L:F111_Wpt_Sum, number) (>@c:FlightPlanAddWaypoint) }
(L:DAT49 mode,enum) 4 == (L:Display mode,enum) 1 == (L:LLAptVorNdbInt,enum) 3 == (L:TypEntry, enum) 1 == and and and
if{ 0 (>@c:FlightPlanWaypointIndex)
(@c:NearestNdbCurrentICAO) (>@c:FlightPlanNewWaypointICAO)
1 (>@c:FlightPlanDirectToDestination) }
(L:DAT49 mode,enum) 4 == (L:Display mode,enum) 1 == (L:LLAptVorNdbInt,enum) 3 == (L:TypEntry, enum) 2 == and and and
if{ (@c:NearestNdbCurrentICAO) (>@c:FlightPlanNewWaypointICAO)
(L:F111_Wpt_Sum, number) (>@c:FlightPlanAddWaypoint)
(L:F111_Wpt_Sum, number) 1 + (>@c:FlightPlanDeleteWaypoint) }
(L:DAT49 mode,enum) 4 == (L:Display mode,enum) 1 == (L:LLAptVorNdbInt,enum) 4 == (L:TypEntry, enum) 0 == and and and
if{ (@c:NearestIntersectionCurrentICAO) (>@c:FlightPlanNewWaypointICAO)
(L:F111_Wpt_Sum, number) (>@c:FlightPlanAddWaypoint) }
(L:DAT49 mode,enum) 4 == (L:Display mode,enum) 1 == (L:LLAptVorNdbInt,enum) 4 == (L:TypEntry, enum) 1 == and and and
if{ 0 (>@c:FlightPlanWaypointIndex)
(@c:NearestIntersectionCurrentICAO) (>@c:FlightPlanNewWaypointICAO)
1 (>@c:FlightPlanDirectToDestination) }
(L:DAT49 mode,enum) 4 == (L:Display mode,enum) 1 == (L:LLAptVorNdbInt,enum) 4 == (L:TypEntry, enum) 2 == and and and
if{ (@c:NearestIntersectionCurrentICAO) (>@c:FlightPlanNewWaypointICAO)
(L:F111_Wpt_Sum, number) (>@c:FlightPlanAddWaypoint)
(L:F111_Wpt_Sum, number) 1 + (>@c:FlightPlanDeleteWaypoint) }
(L:DAT49 mode,enum) 4 == (L:StandOff mode,enum) 4 == and
if{
(L:DistMove,nmiles) 1 - (>L:DistMove,nmiles) (L:DistMove,nmiles) -1 == if{ 0 (>L:DistMove,nmiles) }
}
(L:DAT49 mode,enum) 4 == (L:StandOff mode, enum) 2 == (L:PrecisionLevel mode,enum) 0 == and and
(L:DAT49 mode,enum) 4 == (L:StandOff mode, enum) 2 == (L:PrecisionLevel mode,enum) 1 == and and
or
if{ (L:ClikLatitude, degrees) (>L:RequiredWaypointLatitude, degrees)
(L:ClikLongitude, degrees) (>L:RequiredWaypointLongitude, degrees)
}</Macro>
<Area Left="197" Top="94" Width="20" Height="20">
<Cursor Type="Hand"/>
<Click Kind="LeftSingle" Repeat="Yes">(L:DAT49 mode,enum) 3 == if{ (>K:HEADING_BUG_DEC) } @Button10</Click>
</Area>