/usr/share/freemat/help/text/if.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 20 21 22 23 24 | IF IF-ELSEIF-ELSE Conditional Statements
Usage
The if and else statements form a control structure for
conditional execution. The general syntax involves an if
test, followed by zero or more elseif clauses, and finally
an optional else clause:
if conditional_expression_1
statements_1
elseif conditional_expression_2
statements_2
elseif conditional_expresiion_3
statements_3
...
else
statements_N
end
Note that a conditional expression is considered true if
the real part of the result of the expression contains
any non-zero elements (this strange convention is adopted
for compatibility with MATLAB).
|