Array and ASCII


Results 1 to 19 of 19

Thread: Array and ASCII

Threaded View

  1. #17
    Join Date
    Sep 2011
    Posts
    20


    Did you find this post helpful? Yes | No

    Default Re: Array and ASCII

    The code has the checksum calculation in it....but I have cracked it!

    For some reason I don't understand ....not unusual tho......if the Array is constructed the other way around..
    WPT_array[44]=Dec_off Dig 1+"0"
    WPT_array[45]=Dec_off Dig 0+"0"
    WPT_array[46]="."
    WPT_array[47]=Dec_off Dig 0+"0"
    WPT_array[48]=","
    [B]WPT_array[49]= "0" + heading dig 2
    WPT_array[50]= "0" + heading dig 1 'Course Dig 2+"0"
    WPT_array[51]= "0" + heading dig 0

    so the "0" is in front of the variable it works......then you just add a bit of code to fill the array with the heading and hey presto! It has taken a lot of head banging and scratching.
    Last edited by Seahound1; - 27th May 2012 at 22:07. Reason: bad english

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts