Posted by Grant Foraker on February 26, 2015 at 07:37:38:
In Reply to: Re: WAKEUP difference posted by Barbara Brazil on February 23, 2015 at 14:08:34:
I'd forgotten that attempt. Abandoned the project. Something must have changed since 2007 that now makes Comet16 work.
This is a Comet16 OBJ run under Comet16 and Comet32 with different results.
In Comet16, pressing CANCEL begins the WDL shutdown process, the program closes, and returns to the menu. I can't tell what happens to the WAKEUP.
In Comet32, the shutdown process closes the dialog and clears the screen but the WAKEUP is still active and never expires. Even at the wakeup time. So the program hangs.
MSGBOX 'WAKEUP DONE'
IF CANCEL$ EQ 'Y' RETURN
In Comet16, the MSGBOX never happens after a CANCEL is initiated. Somehow the WAKEUP and the GOSUB it's nested in are POP'd or otherwise abandoned.
In Comet32, the MSGBOX never happens because the WAKEUP never triggers.
If the WAKEUP expires normally, the MSGBOX does display.
Having it work like Comet16 would be nice. Or, I think we need a way to POP the WAKEUP.
Post a Followup
Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.