NonSequential execution in PV-Wave [message #9295] |
Wed, 11 June 1997 00:00 |
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
|
|
|