Yair Posted May 15, 2005 Report Share Posted May 15, 2005 Arrays are similar to strict type-defs in that the only thing that can be different between elements is their value. Having a non-strict array available would be a nice option. Such an array would have only some of the properties set and the rest could be individually changed for each element (at the extreme, we could have only the datatype set and everything else open to change). This would allow, for example, to create more flexible GUIs by allowing "creation" and manipulation of multiple elements (assuming overlapping doesn't take all the CPU) without having to bother with picture controls. Another example would be being able to disable only some of the controls in an array. This would obviously be mainly a GUI device, but it could be very helpful in certain situations. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.