Hello everyone,
I encountered a problem regarding different behavior of the IDL runtime versus the IDL development environment. This problem can be best explained using the following example code:
pro test_iplot
iplot, indgen(10)
res = dialog_message( 'Back from iPlot', /INFORMATION )
end
When I create an executable (.sav file) from this routine and run it within idlde, iplot is started and after this has been initialized, the dialog_message statement is executed. When I start the same executable with idl runtime, iplot is started and the iplot window NEEDS TO BE DESTROYED FIRST before the dialog_message statement is executed. Note that this behavior is very different from the idlde where directly after the initialization of the iplot tool the message is shown, without having to destroy the iplot window first.
Does anyone have experience with this, or knows how to overcome the unwanted behavior of idl runtime?
Thanks in advance,
Pepijn
|