Jump to content

Sign in to follow this  
pve

Entering multiple values into Loops FS9

Recommended Posts

Hi all %{loop} %(l1 (>@c:FlightPlanWaypointIndex)) {clr2}{fnt2}%((@c:FlightPlanWaypointRemainingTotalDistance,nmiles) @DistAdj + )%!03d!%(l1 ++ s1 l2 <) The macro changes the value in the selected WaypointIndex remaining distance fields OK but it can only change one. If you select and change another it puts the correct value in the new field and removes the last value. Is it possible to add more than one value to the loop fields.

Share this post


Link to post
Share on other sites

Hi Paul,Could you explain a bit more your intentions?Something like:{loop}{color-font-etc}n1 (>@c:FlightPlanWaypointIndex)(@c:FlightPlanWaypointRemainingTotalDistance,nmiles)n2 (>@c:FlightPlanWaypointIndex)(@c:FlightPlanWaypointRemainingTotalDistance,nmiles)n3 ...etc{color-font-etc}(n++ loop control){next}???Tom

Share this post


Link to post
Share on other sites

Hello Tom I have all the flightplan speed, climb cruise and descent Fields in the FMC legs page working now and want to edit them. Using total distance as an easy one to learn with. The macro has the FP waypoint number to change and holds the value from the scratchpad sent from the LSK. Is your example saying I should give a separate number for each waypoint position. Paul

Share this post


Link to post
Share on other sites

Paul,Honestly, I don't follow you in what do you really want to do, sorry.Maybe if you could post an example, at least in pseudocode...Tom

Share this post


Link to post
Share on other sites

Hi Tom I can't do it within loop need to have separate value L:vars for each WP field. Thanks again for the clue will have to try another way. Paul

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...