Daniel
2012-03-22 05:34:17
var
curCode: Word;
begin
curCode := 1 shl ((SizeOf(Word) shl 3) - 1);
I really can't see any problems in that. It occurs irrespective of the data type, so there are no overflow errors.
Please help poor ol' Daniel? :)
Cheers. :)