|
|
Re: Outputting data to Files [message #45536 is a reply to message #45534] |
Mon, 12 September 2005 10:19  |
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/
|
|
|