Re: "OF" in types, yet again...
- Posted by Robert Craig <rds at RapidEuphoria.com> Jul 04, 2004
- 473 views
Al Getz wrote: > > Someone wrote: > > >sequence of sequence of integer s > > I doubt i would use that exact line anywhere, but i would > DEFINATELY use this: > > sequence of char > > which would limit ANY element in this sequence to > a whole number between 0 and 255, or hex #00 to #FF. > > I'd welcome this in a heartbeat, because from then on > i'd be able to store text in single bytes with the same > ease that i store anything else (usually) when using > Euphoria. Presently, for every character stored there > are four bytes used. Unfortunately, I would still want to store your chars in 4 bytes. The main reason I don't store chars in one byte now is because I'd have to create a new *internal* data type that would make the interpreter much bigger, buggier, slower, and harder to maintain. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com