Re: Printing array on one line [message #8368] |
Sun, 02 March 1997 00:00 |
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>
|
|
|