Re: Writing an 8 Column array into a data file [message #87581 is a reply to message #87578] |
Sat, 15 February 2014 10:51   |
wlandsman
Messages: 743 Registered: June 2000
|
Senior Member |
|
|
On Saturday, February 15, 2014 1:29:17 PM UTC-5, drewc...@gmail.com wrote:
> Well I do have one last question. Hopefully it is simple. Now that I have my 8 arrays each with 1 column, I'm trying to combine them using 'combine=[a1,a2,a3,a4,a5,a6,a7,a8]' but my first array is a STRING array...the rest being FLOAT or DOUBLE. After I combine the arrays my final array becomes a DOUBLE variable array and my STRING array becomes decimals. So now when I print out the final array, the first column is only numbers rather than the string variable.
As David said you can't do this with ordinary arrays, but this is why IDL now has lists
http://www.exelisvis.com/docs/LIST.html
|
|
|