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

Home » Public Forums » archive » Re: Outputting data to Files
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
Re: Outputting data to Files [message #45533] Mon, 12 September 2005 12:10
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
pravesh.subramanian@gmail.com writes:

> I think I should be looking up the keywords for commands.. Thats the
> key..What do you think?

It's always a good idea. I do it almost every time
before I post on the newsgroup. No matter how sure
I am of the answer. :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Re: Outputting data to Files [message #45534 is a reply to message #45533] Mon, 12 September 2005 11:30 Go to previous message
pravesh.subramanian is currently offline  pravesh.subramanian
Messages: 21
Registered: August 2005
Junior Member
Thank You, David.

I think I should be looking up the keywords for commands.. Thats the
key..What do you think?
Re: Outputting data to Files [message #45536 is a reply to message #45534] Mon, 12 September 2005 10:19 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
pravesh.subramanian@gmail.com writes:

> Thanks for providing advice from time to time.
>
> I am outputting data to files through my program. I find that the data
> automatically shifts to the next line after some point.
>
> ex: array = [2, 3 4, 5 , 6, 7, 8, 9]
>
> after outputting, the file looks like this:
> 2, 3, 4, 5, 6
> 7, 8
>
> I want 7, 8 to appear on the same line otherwise my purpose in defeated
> .
>
> What's going on?

The width of your output line is set to the default 80
characters. Change it with the WIDTH keyword to the OPENW
command.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Writing JPEG2000 file
Next Topic: no drag events in cw_fslider or widget_slider

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

Current Time: Sat Oct 11 10:08:21 PDT 2025

Total time taken to generate the page: 0.32740 seconds