Hi, all
I wrote: | begin | SeedRand(1234567890); | GetTimeStamp (CurrentTime); | WriteStr(FormatTime(CurrentTime, TimeFormat), t1); { line 17 } [..] | The compiler hangs with the following error: | testmt.pas(17): Error: reference expected, value given | testmt.pas(17): Error: tree check: expected class 't', have 'x' | (error_mark) in require_complete_type, at p/typecheck.c:63 | Please submit a full bug report
I work with strings so seldom that I overlooked the (duh!) obvious: line 17 should be ReadStr(Format......, not WriteStr(...
Silvio's timer is way better anyway.
The bug report stands.
Toby