A
code:
? 'Error '+@ERROR+' - '+@SERROR

will display error codes. Put it after KiXtart commands/functions that you suspect might create problems.
_________________________
There are two types of vessels, submarines and targets.