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

Home » Public Forums » archive » Re: my god this should be easy!
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: my god this should be easy! [message #12252 is a reply to message #12251] Fri, 24 July 1998 00:00 Go to previous messageGo to previous message
mallors is currently offline  mallors
Messages: 76
Registered: November 1997
Member
In article <6p8btl$2ub$1@filet.nrlssc.navy.mil>,
"T Bowers" <tbowers@nrlssc.navy.mil> writes:
> 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
>

You can print a tab using its byte value:

PRINT, 'x', STRING (9B), 'x'

A newline can be printed with STRING (10B), and
just for fun, try PRINT, STRING (7B)

-bob




--
Robert S. Mallozzi
http://cspar.uah.edu/~mallozzir/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: [Q] Reading from ASCII file?
Next Topic: Re: [Q] Reading from ASCII file?

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

Current Time: Wed Oct 08 18:43:48 PDT 2025

Total time taken to generate the page: 0.11389 seconds