SRL Archive - OSR Help

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


xdarkshadowx

2012-12-30 20:13:25

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

Thanks :s

Gucci

2012-12-30 20:25:36

From: xdarkshadowx
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)

xdarkshadowx

2012-12-30 20:28:16

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?

riwu

2012-12-30 21:23:30


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

xdarkshadowx

2012-12-30 21:34:41

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