Once upon a time, Mark Morgan Lloyd said: > No, because the elements in a set are dictated by their position. A > set that can contain anything between 0 and 256 elements occupies 8 > bytes in memory with the (bit representing the) 0 element at one end > and the (bit representing the) 256 element at the other, a set to > contain up to (say) 257 elements would require more space and that's > not supported. > Probably a typo, but 8 bit * 8 bytes = 64 elements. So I suppose you mean `[...] occupies 32 bytes in memory [...]`?
Just so nobody gets confused :-) -- Ewald _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal