MerryMadDad
Programmer
I want to join a number of strings together on a Single line in a memo to make four to six rows (lines) and the number of different strings to join can be one to thirty-two. for example :
First row s1a, s2a, s3a, ......sa32a
Second row s1b, s2b, s3b, .... s32b
third row ....
fourth row ....
..
..
all the strings are held in an array and I have a counter to indicate how many there are in each row (all rows will have the same ammount)
What I've done
for row:= 0 to (rowpoint) do
SaveMemo.lines.Add (Names[(col),row] +', ' + Names[(col+1) .. and so on ....
The above works for the rows Ok but I'd like some means of getting the columns added other than by + so that I can use a pointer in a loop.
Any help gratefully received
Thank you
First row s1a, s2a, s3a, ......sa32a
Second row s1b, s2b, s3b, .... s32b
third row ....
fourth row ....
..
..
all the strings are held in an array and I have a counter to indicate how many there are in each row (all rows will have the same ammount)
What I've done
for row:= 0 to (rowpoint) do
SaveMemo.lines.Add (Names[(col),row] +', ' + Names[(col+1) .. and so on ....
The above works for the rows Ok but I'd like some means of getting the columns added other than by + so that I can use a pointer in a loop.
Any help gratefully received
Thank you