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