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

Home » Public Forums » archive » Re: Printing array on one line
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: Printing array on one line [message #8368] Sun, 02 March 1997 00:00
Carda Traunero is currently offline  Carda Traunero
Messages: 2
Registered: March 1997
Junior Member
In article <3317666E.6B0F@shapley.colorado.edu>,
Mark Fardal <fardal@shapley.colorado.edu> wrote:
> Hi again (it's that kind of day),
>
> does anyone know how to print an array to a file and make it come
> out all on one line? A simple
> IDL> print,transpose(junk)
> works for short arrays, but if "junk" gets long then IDL breaks the
> array into multiple lines, which I don't want. also
> IDL> print,format='(g)',transpose(junk)
> gives only one element per line, not sure why.
>
> Two wish-list items: writecol (analogous to readcol), and prints
> (analogous to sprintf in C, or printing to internal files in fortran).
>
> Thanks,
> Mark Fardal
>
I do not know about printing, but I found for reading a line of input that
the buffer is 2048 characters. Perhaps a corresponding lineout buffer is
also maxed out? Is there a way to override the linein buffer value?

Paul <carda@ix.netcom.com>
[Message index]
 
Read Message
Previous Topic: Re: Color Frustration
Next Topic: Gradient of two dimensional field

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

Current Time: Fri Oct 10 14:34:47 PDT 2025

Total time taken to generate the page: 0.95916 seconds