my god this should be easy! [message #12262] |
Thu, 23 July 1998 00:00 |
T Bowers
Messages: 56 Registered: May 1998
|
Member |
|
|
what the...
how in the world do i write my data to a text file so it's tab delimited?
sizeInfo = size(myData)
fmt = "(" + strtrim(string(sizeInfo[1]),2) + "(F0, TR1))"
printf, myFile, myData, FORMAT = fmt
certainly doesn't work, it puts a space there (ascii 32 decimal) NOT
a tab (ascii 09).
doesn't TR mean "tab right", right??
just to let ya know, i'm working on a navy project and specs say:
"thou shalt make sure data is tab delimited, dammit!!"
or something like that.
the only option i can derive is looping thru all dimensions and...
write the value
write a tab
if i'm at the end of the row
write a newline
repeat a couple thousand times
please tell me i'm missing something.
tia, tb
|
|
|