|
From: | Fischlin Andreas |
Subject: | Re: Exception handling within a compound statement? |
Date: | Wed, 20 Dec 2023 10:24:22 +0000 |
Dear Phil, Modula-2 has the philosophy of handling errors explicitly as the programer strives to write an error free code in the first place. The only exceptions that can be considered are numerical ones, such as an integer or real overflow etc., which are detected and handled by the underlying hardware and system settings. Depending on the current setting for the handling of such exceptions (tolerate or respond etc.) this results typically in a HALT of the Modula-2 program with some information on the causes of the exception and/or triggering of a debugger. Hope this helps. Sincerely yours, Andreas Fischlin ETH Zurich Prof. em. Dr. Andreas Fischlin Systems Ecology - Institute of Biogeochemistry and Pollutant Dynamics CHN E 24 Universitaetstrasse 16 8092 Zurich SWITZERLAND andreas.fischlin@env.ethz.ch +41 44 633-6090 phone +41 79 595-4050 mobile Make it as simple as possible, but distrust it! ________________________________________________________________________
|
smime.p7s
Description: S/MIME cryptographic signature
[Prev in Thread] | Current Thread | [Next in Thread] |