Ticket #253 (assigned enhancement)
Provide some minimal allowance for use of multidim and jagged arrays
Reported by: | hopscc | Owned by: | Chuck |
---|---|---|---|
Priority: | medium | Milestone: | |
Component: | Cobra Compiler | Version: | 0.8.0 |
Keywords: | Cc: |
Description
Its currently almost possible to use multidimension (or jagged) arrays in cobra but the obvious way of doing this is stymied by the inability to explicitly declare the multidim or jagged array type.
Rectify this (at a minimum) so that these types of arrays can be used in cobra (albeit not easily since Lists are better (:-))
In lieu of anything else I suggest using the C# syntax
TYPE[][] for jagged
TYPE[,] for multidimension
and relying on a sharp fallthrough for constructor calls
(I also dont see any reason ATM to support more than 3 Dimensions).
Attachments
Change History
Note: See
TracTickets for help on using
tickets.