December 12, 201411 yr Hi all <ScrollY>(L:Scroll,number)</ScrollY> <String> %((L:DirTo,bool) ! (@c:FlightPlanWaypointsNumber) s2 0 != and ) %{if} %(0 sp1) %{loop} %(@Array l1 (>@c:FlightPlanWaypointIndex)) %( l1 (@c:FlightPlanWaypointIndex) == )%{if}%( l44 100 / )%!d!%{end} %(l1 ++ s1 l2 <) \n %{next} %{end} %{end} </String> works OK but if I try %( l1 (@c:FlightPlanWaypointIndex) 1 - == )%{if}%( l44 100 / )%!d!%{end} To give one value back I get not even a list of zeros. Anyone help Paul EGLD
December 12, 201411 yr Commercial Member <ScrollY>(L:Scroll,number)</ScrollY> <String> %((L:DirTo,bool) ! (@c:FlightPlanWaypointsNumber) s2 0 != and ) %{if} %(0 sp1) %{loop} %(@Array l1 (>@c:FlightPlanWaypointIndex)) %( l1 (@c:FlightPlanWaypointIndex) == )%{if}%( l44 100 / )%!d!%{end} %(l1 ++ s1 l2 <) \n %{next} %{end} %{end} </String> %( l1 (@c:FlightPlanWaypointIndex) 1 - == )%{if}%( l44 100 / )%!d!%{end}Need to use the code-format... like what I just did. I'd offer an answer to your question... but I don't do XML. Ed Wilson Mindstar AviationMy Playland - I69
December 14, 201411 yr Author Thanks I tried that, I went back and changed the array l1 1 - @1 == if{ (L:AltConst:@1,feet) sp37 } Ed. how you get the code box Paul EGLD
December 14, 201411 yr Ed. how you get the code box When replying click on "More Reply Options" and the select the "< >" option for code. Select code type "XML" and then paste your bit of code in the big box. My FS Videos
Create an account or sign in to comment