Re: [fpc-pascal] Outputting a set for debugging

2012-02-21 Thread Mark Morgan Lloyd
Mattias Gaertner wrote: On Tue, 21 Feb 2012 21:19:52 + Mark Morgan Lloyd 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) ? Ig

Re: [fpc-pascal] Outputting a set for debugging

2012-02-21 Thread Mattias Gaertner
On Tue, 21 Feb 2012 21:19:52 + Mark Morgan Lloyd 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 ___

[fpc-pascal] Outputting a set for debugging

2012-02-21 Thread Mark Morgan Lloyd
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? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or co