Ticket #2643: RecordDefaultValue.mo

File RecordDefaultValue.mo, 154 bytes (added by Jens Frenkel, 11 years ago)
Line 
1model RecordDefaultValue
2
3 record MyRecord
4 Real a;
5 Real b=24;
6 end MyRecord;
7
8 MyRecord r=MyRecord(time,-time);
9end RecordDefaultValue;