ExitOnError() not working?
Posted: Mon Apr 25, 2016 12:19 am
If I don't misunderstand something this code should not exit with a division by zero requester. But it does.
Code: Select all
DebugPrint("1")
ExitOnError(False)
cucc=1/0
code=GetLastError()
ExitOnError(True)
DebugPrint("2")
Repeat
WaitEvent
Forever