> if (Source <> Nil) and (Source is TMyClass) then
Doesn't the IS operator return false if the instance is nil?
I thought it was the AS operator that allowed nils through
--
Aaron Scott-Boddendijk
Jump Productions
(07) 838-3371 Voice
(07) 838-3372 Fax
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
- [DUG]: TPersistent.Assign override Patrick Dunford
- Re: [DUG]: TPersistent.Assign override Aaron Scott-Boddendijk
- RE: [DUG]: TPersistent.Assign override Cooke, Andrew
- RE: [DUG]: TPersistent.Assign override Aaron Scott-Boddendijk
- RE: [DUG]: TPersistent.Assign override Cooke, Andrew
