Thema: Delphi Assigned() vs. <> nil

Einzelnen Beitrag anzeigen

Benutzerbild von Luckie
Luckie

Registriert seit: 29. Mai 2002
37.621 Beiträge
 
Delphi 2006 Professional
 
#3

Re: Assigned() vs. <> nil

  Alt 18. Okt 2004, 22:26
Zitat von Delphi in a Nutshell:
If the pointer is a function pointer, using Assigned makes it clear that you do not intendto call the function and compare its result to nil. Thus, Assigned is often used to test. function and method pointers.
Michael
Ein Teil meines Codes würde euch verunsichern.
  Mit Zitat antworten Zitat