Opened 17 years ago

Last modified 14 years ago

#127 closed defect (fixed)

Instantiation of enum's does not (yet?) work

Reported by: filip Owned by: filip
Priority: critical Milestone:
Component: Version:
Keywords: Cc: filip, Adrian Pop

Description

See comment.

Change History (2)

comment:1 by filip, 17 years ago

In my experience, being able to create arrays over enumerations is an
important feature, especially for large model libraries. It is therefore
unfortunate that is not (yet?) possible. Any further comments on when this
functionality will be added?

Example:

model MyModel

type MyEnum = enumeration(one, two, three, four);


MyEnum MyVar; Fails


Real[MyEnum] MyArray; Fails

end MyModel;

comment:2 by Martin Sjölund, 14 years ago

Works in trunk.

Note: See TracTickets for help on using tickets.