[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Kyan Pascal question



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