Opened 19 years ago
Last modified 18 years ago
#74 closed defect (fixed)
elseif not recognized, ignored
Reported by: | joer | Owned by: | joer |
---|---|---|---|
Priority: | critical | Milestone: | |
Component: | Version: | ||
Keywords: | Cc: | joer, Adrian Pop |
Description
Change History (2)
comment:1 by , 19 years ago
comment:2 by , 18 years ago
fixed in subversion revision 2517. also added a test in the testsuite in
revision 2518.
implemented elseif within if expression by constructing
IFEXPs within else part.
Note:
See TracTickets
for help on using tickets.
Create file elseif_err.mo:
model test
equation
end test;
Using the latest (1.4) version of omc:
$ omc elseif_err.mo
fclass test
Real out1;
Real out2;
Real out3;
Real out4;
equation
end test;
Note the difference between out3 and out4, they should be identical.