Archive

Sunday, 15. May 2016

2
votes
Vote UpVote

Fun Code of the Day #2: Does nil have a type?

Delphi-losophy – Okay, no cheating now. That is, no running the code until you’ve guessed. What is the output of this code?program Project90; {$APPTYPE CONSOLE} {$R *.res} uses System.SysUtils; var S: TObject; begin try S := nil; if S is TObject then begin Writeln('Yup'); end ...
Details Favorite? Off-Topic? nickhodges@gmail.com @ 16:34
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

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