Mail Archives: djgpp/1999/05/31/08:40:27
Guillermo Rodriguez Garcia wrote:
> El día Wed, 26 May 1999 18:15:32 +0100, Miguel Guerreiro
> <a14616 AT aaual DOT ualg DOT pt> escribió:
>
> >What about other languages?...
> >
> >I think that in pascal you can do something like this:
> >
> > type
> > uint24 = $0..$FFFFFF
> > end
>
> But that doesn't mean that a uint24 variable will take three bytes,
> just that the compiler will (try to) check the values you assign to an
> uint24. It will probably still use four bytes to store it, at least in
> 32-bit machines.
>
> Regards:
> GUILLE
> ----
> Guillermo Rodriguez Garcia
> XXguille AT XXiies DOT XXes (ya sabes :-)
Perhaps I didn't make myself clear, I only want it to take three bytes
when I save it to disk ( maybe packed ) not while I'm working with it...
Thanks to all those who have helped me!
- Raw text -