January 24, 200620 yr i would like to know how to write a string that will display like this; wn:3/5 where the 3 is the GPS FLIGHT PLAN WP INDEXthe 5 is the GPS FLIGHT PLAN WP COUNT ( assuming this is the total number of wpts)wn:%((A:GPS FLIGHT PLAN WP INDEX, number))%!0d!i do not know how to get the '/' character inserted and then the second var value in the same string line.
January 24, 200620 yr Author Commercial Member You have to 'escape' out the backslash (or use a forward slash).%wn: %((A:GPS FLIGHT PLAN WP INDEX, number) 1 +)%!d!%%((A:GPS FLIGHT PLAN WP COUNT, number))%!d!The WP INDEX starts at 0 and the WP COUNT starts at 1, so add 1 to the index so that they match.--Jon Jon Blum Vertical Reality Simulations
Create an account or sign in to comment