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

Home » Public Forums » archive » my god this should be easy!
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
my god this should be easy! [message #12262] Thu, 23 July 1998 00:00
T Bowers is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: getting data from a pointer
Next Topic: resetting structs

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

Current Time: Fri Oct 10 16:02:40 PDT 2025

Total time taken to generate the page: 0.47873 seconds