Jump to content
Sign in to follow this  
spokes2112

XML sentence meaning

Recommended Posts

Guest coal

Hello everybody,Could someone explain to me what does next XML sentences do?1 2 (@g:blinkingField) 4 == ? (>@c:FlightPlanLoadApproach)or0 3 (@g:currentAirportTransition) 0 == ? (>@c:FlightPlanNewApproachAddInitialLeg)They are taken from fs9 deafult GPS. I know that a decission is taken but I don't know how.Thanks

Share this post


Link to post
Share on other sites

Basically they are if{} els{} statements the "?" is a shorcut for it.1 2 (@g:blinkingField) 4 == ? (>@c:FlightPlanLoadApproach)would be(@g:blinkingField) 4 == if{ 2 (>@c:FlightPlanLoadApproach) } els{ 1 (>@c:FlightPlanLoadApproach) }0 3 (@g:currentAirportTransition) 0 == ?(>@c:FlightPlanNewApproachAddInitialLeg)would be(@g:currentAirportTransition) 0 == if{ 3 (>@c:FlightPlanNewApproachAddInitialLeg) } els{ 0 (>@c:FlightPlanNewApproachAddInitialLeg) }Regards,Roman


20AUG21_Avsim_Sig.png?dl=1  FS RTWR   SHRS F-111   JoinFS   Little Navmap 
 

 

Share this post


Link to post
Share on other sites

>1 2 (@g:blinkingField) 4 == ? (>@c:FlightPlanLoadApproach)>>would be>> (@g:blinkingField) 4 == if{ 2 (>@c:FlightPlanLoadApproach) }>els{ 1 (>@c:FlightPlanLoadApproach) }Hi Roman,Actually is the inverse way :-roll :(@g:blinkingField) 4 == if{ 1 (>@c:FlightPlanLoadApproach) }els{ 2 (>@c:FlightPlanLoadApproach) }the first value on the stack is for true and the second for falseTom

Share this post


Link to post
Share on other sites
Guest coal

Thanks a lot Tom and Roman

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...