delphi函數(shù)學(xué)習(xí)
1.function Assigned(var P): Boolean;判斷過(guò)程或指針是否存在
Description
? Use Assigned to determine whether the pointer or procedure referenced by P is nil. P must be a variable reference of a pointer or procedural type. Assigned(P) corresponds to the test P<> nil for a pointer variable, and @P <> nil for a procedural variable.
? Assigned returns False if P is nil, True otherwise.
posted on 2006-09-14 11:21 liaojiyong 閱讀(263) 評(píng)論(0) 編輯 收藏 所屬分類: Delphi