Hi,
For example:
type
THelper = type helper for string
function GetItems(Index: word): word;
property Items[Index: word]: word read GetItems; default;
end;
Delphi forbids this with "'default' directive not allowed in record
helper type".
FPC ignores it. Aka aString[1] has still the normal meaning.
Same for arrays, double, integers.
Is this an oversight, or has FPC some use for the default directive?
Mattias
_______________________________________________
fpc-pascal maillist - [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal