> AFAIK default parameters can only be simple types, not complex types
> like records.
Well... it certainly appears to be so...
> Although, I did get the following program using a default
> class parameter to compile and run.
Kinda defeats the purpose (low overhead). I'll stick with two simpl
On 30/12/10 7:40, David Emerson wrote:
I'd like to use a constant record as a default parameter. Is there some way to
do this? Here's my use case:
type
lt_ints = record
left, top : longint;
end;
const
lt_zero : lt_ints = (left:0; top:0);
procedure do_something (const offset_lt