exception

•You can throw an exception by entering Alt Q. If you throw from a function, you throw an exception at the end of the function, and if you throw from a conditional branch, you throw from the end of the branch.

•Once an exception is thrown, ignore the execution statement until it is caught.

•You can enter Alt Q in a loop to catch an exception.

•When Alt . is entered, you can use a ⚠ variable dedicated to handling exceptions.

•In case of low memory or overflow the function stack, the ⚠ variable is valueed and an exception is thrown.

•If the integer is divided by 0, no exception is thrown, but the ⚠ variable is 3 and the operation is not performed.


ExceptionNumber
Not enough memory1
Stack overflow2
Comments
* The email will not be published on the website.