[lazarus] Is NIL constant?

DMo2 madarzoo at o2.pl
Wed Sep 24 14:49:56 EDT 2003


I can't compile program like this
LINE 218:
    property Bitmap: TBitmap read FBitmap write SetBitmap default nil;

(218,67) Error: Property can't have a default value
(218,70) Error: The default value of a property must be constant

I suppose that declaration of  NIL is different

I can remove this, but I want know why?


Darek









More information about the Lazarus mailing list