Previous Next Edit Rename Undo Refresh Search Administration
allows to ignore POSIX signals, or intercept them inside an event
Public Sub Application_Signal(Signal As Integer)
Print "Don't do that: I don't want to die during my sleep!"
Public Sub Main()
' Ignore the signal sent when you hit CTRL+Z in a terminal
' Catch the signal sent when you hit CTRL+C in a terminal
' Sleep one hour :-) But do not use the Sleep instruction, otherwise you won't see the signal!