Vote UpVote

Quick quiz

Delphi Haven – Consider this unit: unit CCR; interface type SysUtils = record const EmptyStr = 'Overridden'; end; implementation end. If the constant on the record type hurts your eyes (or you still use an ancient Delphi version), use this instead – unit CCR; interface type TSysUtils = record EmptyStr: string; end; const SysUtils: TSysUtils = (EmptyStr: 'Overridden'); implementation end. Now, consider this test project: program Project1; {$APPTYPE CONSOLE} uses SysUtils, CCR; begin WriteLn('SysUtils.EmptyStr = "', SysUtils.EmptyStr, '"'); ReadLn; end. Without ...
Favorite? Off-Topic? CR @ 2010-03-09 20:03


Visits: 406
Votes: 1
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)