Ticket #1956: ParameterBug.mos
File ParameterBug.mos, 386 bytes (added by cschubert, 12 years ago) |
---|
Line | |
---|---|
1 | loadFile("ParameterBug.mo"); getErrorString(); |
2 | instantiateModel(ParameterBug.A); getErrorString(); |
3 | // Result: |
4 | // true |
5 | // "" |
6 | // "class ParameterBug.A |
7 | // parameter Real Vdc = 1.0; |
8 | // parameter Real offset = Vdc; |
9 | // parameter Real c.offset = offset; |
10 | // Real c.x; |
11 | // Real c.y = c.x; |
12 | // equation |
13 | // c.x = c.offset; |
14 | // end ParameterBug.A; |
15 | // " |
16 | // "" |
17 | // endResult |