Re: printf crashed IDL401 in Win3.1 [message #6149] |
Tue, 16 April 1996 00:00 |
Andy Loughe
Messages: 174 Registered: November 1995
|
Senior Member |
|
|
Paul R Smith wrote:
>
> Hi,
> Having done a lot of C programming lately I accidently wrote a line
> like;
> printf,'Output ...'
> which instantly crashed IDL 401 under Windows 3.1 (application error etc
> etc). Has anyone noticed this before?
> Paul
Of course there is a printf function in IDL which allows
one to print to a file. It requires a unit number, so this
is the reasonable error I get on a workstation...
IDL> printf, 'hello there i was wondering.'
% Type conversion error: Unable to convert given STRING to Long.
% Detected at: $MAIN$
--
Andrew F. Loughe [afl@cdc.noaa.gov, http://cdc.noaa.gov/~afl]
University of Colorado, CIRES * Campus Box 449 * Boulder, CO 80309
phone: (303) 492-0707 fax: (303) 497-7013
|
|
|