Name |
Purpose |
Arguments |
Return value |
Example |
enableRealDivBy ZeroException |
allows to change the behaviour of the virtual machine concerning divisions by 0. If the exception is enabled (default state), a division by 0 will stop the execution of the EbsScript and raise a message box. If the exception is disabled, the EbsScript execution continues with a result of "infinite" for the division. |
1: BOOLEAN |
none |
var r1,r2:real; begin if (isRealDivByZeroException) then begin println ("DivByZero raises end else begin println ("DivByZero does not end; end. |
isRealDivBy ZeroException |
checks the state of the virtual machine, whether a division by 0 raises an exception or whether the program execution shall be continued |
none |
BOOLEAN |