Re: Writing an 8 Column array into a data file [message #87579 is a reply to message #87578] |
Sat, 15 February 2014 10:32   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
drewciampa@gmail.com writes:
> 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.
>
> Using concatenation, can I maintain the string throughout the process?
No.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
|
|
|