Code: Select all
@REQUIRE "RapaGUI"
Function p_ErrorHandler(ErrCode, ErrStr$, ErrCmd, ErrLine)
SystemRequest("Debug Output", "Code: "..ErrCode.."\nString: "..ErrStr$.."\nCommand: "..ErrCmd.."\nLine: "..ErrLine, "OK")
EndFunction
RaiseOnError(p_ErrorHandler)
Repeat
WaitEvent
Forever
There also seems to be another error message behind it, but it disappears so fast that I can't read it.Attempt to yield across metamethod/C-call boundary!