Post by Klemens BarfusHello together,
it seems to be a quite easy problem but I would like to write unix text
files with idl operating under windows.
HM, I played a little and came up with some text the online help:
"The Windows-Only keywords BINARY and NOAUTOMODE are now obsolete. Input/Output
on Windows is now handled indentically to Unix, and does not require you to be
concerned about the difference between "text" and "binary" modes. These keywords
are still accepted for backwards compatibility, but are ignored."
Those keywords are ignored causing lines written with the printf command
are terminated by carriage return and line feed when Windows is the OS
and line feed only for Unix. Thus "handled indentically to Unix" is at
least hard to understand.
Post by Klemens BarfusHow can I manage these ?
A work-around is to use writeu in stead of printf and use the string
procedure to format the text, i.e. to write some text and a number, the
following code works
writeu, 1, String( "Hello word, the year is", 2004), 10B
but looks ugly. Any other ideas?
Norbert