Results 1 to 5 of 5

Thread: How do I add a Tpoint onto the back of a TParray?

  1. #1
    Join Date
    Feb 2012
    Posts
    170
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default How do I add a Tpoint onto the back of a TParray?

    How do I add a Tpoint onto the back of a TParray?

    Thanks :s

  2. #2
    Join Date
    Jan 2012
    Location
    Calgary, AB, Canada
    Posts
    1,819
    Mentioned
    5 Post(s)
    Quoted
    120 Post(s)

    Default

    Quote Originally Posted by xdarkshadowx View Post
    How do I add a Tpoint onto the back of a TParray?

    Thanks :s
    Not really sure what your asking, what are you trying to do? (Like the task)
    Current Project: Retired

  3. #3
    Join Date
    Feb 2012
    Posts
    170
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    I have a tpoiintArray with a bunch of items in it, let's call it, OriginalArray.
    and I have certain parts of it that I wasn to group together into a new array, called, ArrayOfUsefulStuff. now the problem is I don't know how to take a single tpoint from original array (originalArray[integer]) and add it into the new array, the ArrayOfUseFulStuff.

    comprende?

  4. #4
    Join Date
    Jan 2012
    Posts
    2,568
    Mentioned
    35 Post(s)
    Quoted
    356 Post(s)

    Default

    Simba Code:
    Setlength(ArrayOfUseFulStuff, Length(ArrayOfUseFulStuff) + 1);
    ArrayOfUseFulStuff[High(ArrayOfUseFulStuff)]:= originalArray[Index];

  5. #5
    Join Date
    Feb 2012
    Posts
    170
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Ohhhhh.... That makes sense. Create the space, then set that space equal to the index of the other one.
    thankee sir.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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