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

Home » Public Forums » archive » Re: Printf and line breaks
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: Printf and line breaks [message #23243 is a reply to message #23241] Fri, 19 January 2001 12:04 Go to previous messageGo to previous message
s007amf is currently offline  s007amf
Messages: 8
Registered: January 2001
Junior Member
David Fanning (davidf@dfanning.com) wrote:
: ALAN FRAZIER (s007amf@news.wright.edu) writes:

: > Sorry to bother everyone with another question. But, I am just at the
: > beginning of the enduring process of learning IDL.

: Yeah, you and me, both. :-)
:
: > My current problem is with printf. I am trying to create a text output
: > file that can be easily imported into a spreadsheet. From what I can
: > tell, printf automatically line wraps after 80 or so characters. For my
: > output, I want printf to print everything on the same line. I am
: > wondering if anyone knows how to do this or if this is even possible?

: When you open the file for writing, set the WIDTH keyword to
: as wide a line as you need. 80 columns is the default
: for historical reasons. (Are you old enough to remember
: punch cards?)

: Cheers,

: David

: --
: David Fanning, Ph.D.
: Fanning Software Consulting
: Phone: 970-221-0438 E-Mail: davidf@dfanning.com
: Coyote's Guide to IDL Programming: http://www.dfanning.com/
: Toll-Free IDL Book Orders: 1-888-461-0155

--
Alan
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: check for duplicate routine names?
Next Topic: Re: There is always a first !

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

Current Time: Sun Oct 12 06:03:12 PDT 2025

Total time taken to generate the page: 1.36105 seconds