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

Home » Public Forums » archive » Re: Silent errors in run-time
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: Silent errors in run-time [message #45821] Thu, 13 October 2005 05:30 Go to previous message
K. Bowman is currently offline  K. Bowman
Messages: 330
Registered: May 2000
Senior Member
In article <1129198152.558737.98510@g44g2000cwa.googlegroups.com>,
otto.hyvarinen@fmi.fi wrote:

> Thank you for your answers, I didn't get the solution I was looking
> for, but at least I discovered a work-around.
>
> This time I try to be more clear: If I have a program like
>
> pro test
> openr,1,"nofile"
> close,1
> end
>
> and run it interactively. I get:
>
> IDL> .compile test
> % Compiled module: TEST.
> IDL> test
> % OPENR: Error opening file. Unit: 1, File: nofile
> No such file or directory
> % Execution halted at: TEST 2 /home/hyvarine/test.pro
> % $MAIN$
> IDL>
>
> No suprises here.
>
> If I compile it and then run it like this
>
> IDL> .compile test
> % Compiled module: TEST.
> IDL> resolve all
> % Compiled module: RESOLVE ALL.
> % Compiled module: PATH SEP.
> % Compiled module: UNIQ.
> IDL> save,/routines,filename='test.sav'
> IDL>
> [hyvarine@rokka somedir]$ idl -rt="test.sav"

Ah, so the runtime license sends error messages through DIALOG_MESSAGE, which
makes sense when there is no command line. Since you have a full license, can
you run it using that, or do you need to use the runtime license?

Such as,

idl -e "TEST" >& idl.log

Ken Bowman
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Format query
Next Topic: Re: declare variables

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

Current Time: Wed Oct 08 13:31:18 PDT 2025

Total time taken to generate the page: 0.00529 seconds