/usr/share/freemat/help/text/try.mdc is in freemat-help 4.0-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | TRY TRY-CATCH Try and Catch Statement
Usage
The try and catch statements are used for error handling
and control. A concept present in C++, the try and catch
statements are used with two statement blocks as follows
try
statements_1
catch
statements_2
end
The meaning of this construction is: try to execute statements_1,
and if any errors occur during the execution, then execute the
code in statements_2. An error can either be a FreeMat generated
error (such as a syntax error in the use of a built in function), or
an error raised with the error command.
|