[futurebasic] BREAK ON/OFF doesn't work as expected?

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 1998 : Group Archive : Group : All Groups

From: tatewake@... (TJ Grant)
Date: Mon, 23 Nov 1998 01:33:14 -0400
I put BREAK OFF in a program expecting that it would disable
Command-period; however, when you press command-period in either the FB
environment, or a real-world app, it abruptly ends the program anyway; this
ain't good, cuz in one program I might make 8 gworlds, and command period
would cause the app to quit without disposing the gworlds properly(yipes!)

The only way I might see a way around it would be something like:

LOCAL FN nothing
 'rem
END FN

ON BREAK FN nothing

but then does this get called as soon as you press command-period(meaning
abruptly ending an FN and going to FN nothing or does it wait till a
HANDLEEVENTS to do its dirty work?)

The latter would be fine with me, but if not, that might be a
problem(causing crashes, that kinda thing); so is there a better way?



-- TJ Grant (tatewake@...)
Inspired Communications. http://inspired.netstreet.net/
Phone: 407-728-7563