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

Home » Public Forums » archive » NonSequential execution in PV-Wave
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
NonSequential execution in PV-Wave [message #9295] Wed, 11 June 1997 00:00
au455 is currently offline  au455
Messages: 2
Registered: June 1997
Junior Member
I'm writing an application in PV-Wave 6.01 on Open VMS in which,
in response to a GUI button press, 0, 1, 2, 3, or 4 plots pop up
onto the screen depending on how many data files are available.

I first did this by writing a procedure that went through a loop four
times with the widgets used to create the windows and plots defined
within the loop. I was resetting some of the plotting information
(like the name of the data file to be read) during each pass within
the loop.

I discovered that during execution, the loop was executed four times and
then the parent procedure ended--afterwards the widget callbacks were
executed four times. This resulted in the fourth data file being
plotted four times. I was not amused.

I have re written the code so that now it works.

My question is did I work around a bug in PV Wave that should be
reported and might be fixed in future releases? Or, did I work around a
'feature' that is probably here to stay (though I cannot imagine why
anyone would want it to execute that way)?



--
DS Caprette
"There's a little truth in all jive, and a little jive in all truth."
-- Leonard Q. Barnes
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: watershed segmentation
Next Topic: Yet another IDL 5.0 difference

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

Current Time: Fri Oct 10 15:54:45 PDT 2025

Total time taken to generate the page: 0.70443 seconds