Error Handling

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Core Language >

Error Handling

 

Error handling

 

Most of the internal logic of thinBasic is designed in such a way the minimum errors are reported. This strategy has been choosen in order to guarantee the maximum execution of the script. In any case internal errors are trapped and it is possible to detect them

 

In some cases anyway it is good practice to test if an operation was fine or not. Use ERR and ERRCLEAR function to test if any internal error has occurred.