Skip to main content
code formatting
Source Link
Adriano Carneiro
  • 58.8k
  • 12
  • 94
  • 123

Is there any difference between If Assigned(Foo)If Assigned(Foo) and If (Foo <> nil)If (Foo <> nil)? If So, when should they each be used?

Is there any difference between If Assigned(Foo) and If (Foo <> nil)? If So, when should they each be used?

Is there any difference between If Assigned(Foo) and If (Foo <> nil)? If So, when should they each be used?

edited tags
Link
skaffman
  • 404.6k
  • 96
  • 825
  • 775
edited tags
Link
Andreas Rejbrand
  • 110.1k
  • 8
  • 298
  • 404
Source Link
Ken Lange
  • 963
  • 1
  • 7
  • 18
Loading