comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Writing an 8 Column array into a data file
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Writing an 8 Column array into a data file [message #87581 is a reply to message #87578] Sat, 15 February 2014 10:51 Go to previous messageGo to previous message
wlandsman is currently offline  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
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: MPFIT2DFUN- use for a time series of images?
Next Topic: Adding Legends to Coyote Graphics Windows

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 01:10:51 PDT 2025

Total time taken to generate the page: 0.48223 seconds