Am Dienstag, den 04.12.2007, 18:32 +0000 schrieb Sam Liddicott:
> How should it be any diferent from normal access via the property
> getter?
>
> If you use the rtti you can tell whether or not the curent value is
> the default value, but you can't tel if it is the default value by
> default or by choice.
I mostly wanted to know how to handle empty strings. Since I'm designing
a component I had to decide whether to return a (new) empty string or
only a NIL value, but that's done.
I could do this:
result := '';
or that:
resutl := NIL;
and didn't know they are equal to the compiler.
Marc
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives