[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Kyan Pascal question
- Subject: Re: Kyan Pascal question
- From: Linards Ticmanis <ticmanis@gmx.de>
- Date: Sat, 08 Jul 2006 10:09:44 +0200
- In-reply-to: <44af49ac$0$884$ba4acef3@news.orange.fr>
- Newsgroups: comp.sys.apple2
- Organization: Arcor
- References: <44af49ac$0$884$ba4acef3@news.orange.fr>
- User-agent: Thunderbird 1.5.0.4 (X11/20060527)
- Xref: g2news2.google.com comp.sys.apple2:10160
Guillaume Tello schrieb:
> Other question (for another solution), if I declare:
>
> A : ARRAY [1..16] of boolean;
>
> will this be packed into a 2 byte integer or into a 16 bytes array? (a
> question of memory usage)
Use sets instead of arrays for this kind of thing. They're stored
bitwise in every Pascal that I know (though I don't know Apple Pascal).
--
Linards Ticmanis