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

Home » Public Forums » archive » Re: Virtual Machine Crashes :-(
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: Virtual Machine Crashes :-( [message #37877 is a reply to message #37876] Tue, 03 February 2004 08:24 Go to previous messageGo to previous message
Ingo Salzmann is currently offline  Ingo Salzmann
Messages: 10
Registered: December 2002
Junior Member
> Does your program check for a null filename coming
> back from DIALOG_PICKFILE?

I hope to be able to catch errors with the CATCH statement ...

; ############################################################ ####
Catch, theError
IF theError NE 0 THEN BEGIN
Catch, /Cancel
errormsg = dialog_message('No Pole Figure loaded.', /ERROR)
info.path=thisPath
Widget_Control, event.top, Set_UValue=info, /No_Copy
RETURN
ENDIF

file = Dialog_Pickfile(/Read, Filter="*.rwa", DIALOG_PARENT=event.top,
PATH=info.path, GET_PATH=thePath)
; ############################################################ ####

If I start the .sav file by double-clicking on it, there doesn't appear any
dialog window, even if I reduce the statement to:
file = Dialog_Pickfile()
... I find that strange because it worked well with IDL 5.5 ...

Regards,
Ingo
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Incremental variable names?
Next Topic: IDL Test case

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

Current Time: Fri Oct 10 20:46:50 PDT 2025

Total time taken to generate the page: 0.00575 seconds