Structures with multiple data types

mjcoon

Well-Known Member
Licensed User
I bekieve that because structures are based on arrays all the elements of the structure have to have the same (default?) data type. With the new typing capability this is a significant restriction. (Let me know if wrong!)

So could structure arrays be based on multiple separate arrays which could have distinct types per element in the structure? The benefit over having to declare separate arrays is the usual one of having the matching lengths maintained for you, perhaps using the "Array" keyword as now, and the "syntactic sugar" of using a naming scheme, maybe like the one we already have, that makes the relationship bewteen the elements explicit.

Mike.
 
Top