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

Home » Public Forums » archive » MAKE_RT strange behaviour
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
MAKE_RT strange behaviour [message #83101] Thu, 07 February 2013 01:21
LNpellen is currently offline  LNpellen
Messages: 37
Registered: November 2009
Member
I have an application that works fine in "IDL project-mode". To distribute this application I use the MAKE_RT procedure to create an executable file.
After changing from IDL 7.1 to 8.1 I discovered that some functions did not work properly anymore in the "exe-mode", but they still worked fine in "IDL project-mode".

Specifically I have a dropdown list where another dropdown list is filled based on the selection in the first list. In the exe-version the second list were empty. Here is a bit of the code:

sel=WIDGET_INFO(linacList,/DROPLIST_SELECT)
linacNameTemp=list(sel)
names=TAG_NAMES(c.linacs)
linacRef=WHERE(names EQ linacNameTemp)
;fill energy list
xenergy=TAG_NAMES(c.linacs.(linacRef))

;res=dialog_message('Nxenergy ='+ STRING(N_ELEMENTS(xenergy),FORMAT='(i0)'))
IF N_ELEMENTS(xenergy) NE 1 THEN BEGIN
xenergy=xenergy[1:N_ELEMENTS(xenergy)-1]
WIDGET_CONTROL, eList, SET_VALUE=['',STRMID(xenergy,1)], SET_DROPLIST_SELECT=0
ENDIF ELSE WIDGET_CONTROL, eList, SET_VALUE='', SET_DROPLIST_SELECT=0
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: 2D Savitzky-Golay derivative filter?
Next Topic: Re: MAKE_RT strange behaviour

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

Current Time: Wed Oct 08 15:59:08 PDT 2025

Total time taken to generate the page: 0.00367 seconds