good day, fortran supports "if construct" with following syntax:
[name:] if (..) then
[block]
else if (..) [name:] then
[block]
else if (..) [name:] then
[block]
else [name:]
[block]
end if [name]
for example:
firstIf : if (a>10) then
a = 10
else if (b>10) : secondIf then
b = 10;
good day,
fortran supports "if construct" with following syntax:
[name:] if (..) then
[block]
else if (..) [name:] then
[block]
else if (..) [name:] then
[block]
else [name:]
[block]
end if [name]
for example:
firstIf : if (a>10) then
a = 10
else if (b>10) : secondIf then
b = 10;
Good day,
I have the rule
myRule[returns Type1 res] :
rule1, rule2, rule3, rule4... ruleN { res = f($rule1, $rule2,..., ,
$ruleN) }
;
it's all ok.
BUT if ruleN will fire exception, rule1, rule2.. rule(N-1) subtrees will
be forgotten!!!
How can I manage such situations?? can you write me right