[fpc-pascal] how to use Default to replace this ' FillChar(aRecord, sizeof(aRecord), 0);
dennis at avidsoft.com.hk
Mon Dec 5 12:46:02 CET 2016
> Do you know about this feature:
> SomeRec: TSomeRecord = ();
This is good for global variable.
But I wonder whether it has effect in procedure's local variable since
it requires the compiler to clear the record on the stack (which is at
different location every time).
More information about the fpc-pascal