Re: Eu improvements (part 4)
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Jan 07, 2007
- 658 views
Chris Bensler wrote: > Actually, while data structures would be useful too, I don't think that is > what we are actually in need of. What we need is a way to address the > global pollution created by all the index constants used for the pseudo- > structures we already use routinely. We just need a way to name the > elements. Turning my previous idea on it's head a bit, you could bury a bunch of enums inside a type:
type cust(sequence...) enum name, addr1, addr2, ... end enum ... end type cust c ?c[cust:name]
What I'm saying now is the emums don't do anything to the type, but are available as qualified subscripts. Just an idea, Pete