castle icon indicating copy to clipboard operation
castle copied to clipboard

Arrays/List in custom types

Open bablukid opened this issue 11 years ago • 2 comments

When a custom type is defined, it can't contain List or Array structures

enum EventConsequence { Goto( e : events ); IfThenElse( if : List<EventCondition>, then : List<EventConsequence>, else : List<EventConsequence> ); }

throws " Unknown type List<EventCondition> "

bablukid avatar Feb 18 '14 09:02 bablukid

Actually not very easy to add : custom types parameters types are Column types, and there's currently no Column type of Array, TList being an Array of structures. I'll keep it open but don't expect it soon.

ncannasse avatar Nov 18 '15 20:11 ncannasse

@ncannasse There doesn't seem to be support for custom type lists yet?

yz-xlame avatar Jan 29 '24 09:01 yz-xlame