Assigned vs nil
TL;DR The official documentation states Assigned(P) corresponds to the test P <> nil for a pointer variable, and @P <> nil for a procedural variable. Hence, for a non-procedural pointer variable (such as a variable of type PInteger, PMyRec, TBitmap, TList<integer>, or TFormClass), Assigned(P) is the same thing as P <> nil. However, for a … Read more