
OnErrorGosub() renamed to OnErrorProcedure()
OnErrorGosub() renamed to OnErrorProcedure()
Pretty self explanitory really, IMHO OnErrorGosub() should be renamed to OnErrorProcedure() because you pass it the address of a procedure not a label as you would during a Gosub call. 

think again about it 

Code: Select all
OnErrorGosub(?Errorhandler)
MessageRequester("Info","Before the error",0)
b=0
t=2/b
MessageRequester("Info","okay ?",0)
End
Errorhandler:
MessageRequester("Info","Error Stop",0)
Return
SPAMINATOR NR.1
I see, so it can handle both? Why have the OnErrorGoto command then?Rings wrote:think again about it
Code: Select all
OnErrorGosub(?Errorhandler) MessageRequester("Info","Before the error",0) b=0 t=2/b MessageRequester("Info","okay ?",0) End Errorhandler: MessageRequester("Info","Error Stop",0) Return
