Array Question:


Results 1 to 12 of 12

Thread: Array Question:

Threaded View

  1. #7
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Well that and the way Jerson pointed out, would for sure be the proper way to go,
    but it should still work the way he had it originally as long as characters between string[0]
    and string[9] were in order.

    If you had values assigned to individual elements like say;

    string[0]= "A"
    string[1]= "Z"
    string[2]= "P"
    string[3]= "O"
    string[4]= "M"
    string[5]= "H"
    string[6]= "X"
    string[7]= "G"
    string[8]= "W"
    string[9]= "J"

    Then doing it his original way, it wouldn't return the correct values in each element.
    It would still print A,B,C,D,E,F,G,H,I,J.

    Like Dave, I'm kinda curious where that "K" came from?
    Last edited by Bruce; - 28th May 2008 at 20:54. Reason: The "K"
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

Similar Threads

  1. Bits, Bytes Words and Arrays
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 24
    Last Post: - 14th June 2016, 07:55
  2. Simple Array Demo
    By Archangel in forum Code Examples
    Replies: 5
    Last Post: - 15th February 2010, 04:46
  3. Array Question....please help
    By jmoskalski in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 31st October 2009, 01:29
  4. How to saparate variable to array and GLCD Question
    By pramarn in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 4th October 2006, 03:42
  5. Stupid array question
    By RUBiksCUbe in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 4th September 2006, 16:03

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