Default
From Lazarus wiki
Jump to navigationJump to search
Default is a compiler intrinsic: it returns for every type T a default value. In essence, this is a block of memory that is zeroed out. It can be used to correctly initialize any type, and more importantly, a managed type. It also works using a generic type template.
This function cannot be used on any of the file types or complex types that contain a file type.
function Default(T: AnyType): AnyType;