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

Home » Public Forums » archive » Re: Minor bug in 4.0.1 for Win95
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: Minor bug in 4.0.1 for Win95 [message #6929 is a reply to message #6923] Fri, 30 August 1996 00:00 Go to previous messageGo to previous message
Tim Patterson is currently offline  Tim Patterson
Messages: 65
Registered: October 1995
Member
David P. Steele wrote:
>
> In article <brian.jackel.77.001B3BC3@uwo.ca>, brian.jackel@uwo.caJ says...
>>
>> Purely by accident, I found out a one line way to
>> crash IDL Version 4.0.1 (Win32 x86) running under
>> Windows 95. Just type
>>
>> PRINTF,0
>>
>> and it goes boom. Yes, I know it's not a valid use
>> of PRINTF, but the equally stupid PRINTF,1
>> just returns a nice error message.
>>
>> Can anyone reproduce this on other platforms?
>>
>> Brian Jackel
>
> Sure enough, it gives an "Unhandled Exception" error message under Windows for
> Workgroups 3.11.
>

On a digital unix alpha with idl 4.0.1b:

IDL> printf,1
% PRINTF: File unit is not open: 1.
% Execution halted at: $MAIN$
IDL> printf,0
IDL>

So no crash, but no error message either.

Also,

IDL> printf,-1

IDL> printf,-2

IDL> printf,-3
% PRINTF: File unit is not within allowed range: -3.
% Execution halted at: $MAIN$
IDL>

Wonder what file units -1 and -2 are?

Tim
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Looking for IDL Code
Next Topic: map_continent

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

Current Time: Wed Oct 08 19:18:45 PDT 2025

Total time taken to generate the page: 0.00370 seconds