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

Home » Public Forums » archive » Re: printf crashed IDL401 in Win3.1
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: printf crashed IDL401 in Win3.1 [message #6149] Tue, 16 April 1996 00:00
Andy Loughe is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Structures and COMMON blocks
Next Topic: printf crashed IDL401 in Win3.1

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

Current Time: Wed Oct 08 17:18:59 PDT 2025

Total time taken to generate the page: 0.00408 seconds