On Tue, 21 Feb 2012 21:19:52 +0000 Mark Morgan Lloyd <markMLl.fpc-pascal at telemetry.co.uk> wrote: > What type can I cast a set (actually Lazarus's TShiftState) to, in order > to be compatible with IntToHex() for debugging output? Or is there some > other preferred procedure? Why not use dbgs(ShiftState) ? Mattias