Search:
Login
Preferences
Help/Guide
About Trac
Wiki
Timeline
Roadmap
View Tickets
Search
Context Navigation
Back to Ticket #4571
Ticket #4571
: test.mos
File test.mos,
259 bytes
(added by
Per Östlund
,
7 years ago
)
Line
1
setCommandLineOptions("-g=MetaModelica, -d=gen");
2
3
loadString("
4
function f
5
end f;
6
7
function test
8
protected
9
partial function pf
10
end pf;
11
12
pf fu_nc = f;
13
algorithm
14
fu_nc();
15
end test;
16
");
17
getErrorString();
18
test();
19
getErrorString();
Download in other formats:
Original Format