Opened 18 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, adrpo |
Description
Change History (2)
comment:1 Changed 18 years ago by joer
comment:2 Changed 18 years ago by adrpo
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.