[lazarus] FPC Request

Shane Miller SMiller1 at stvgb.org
Fri Oct 22 17:29:15 EDT 1999


Another thing....

In mwedit, Lines is defined as a TSTRINGS.

They can reference each string by doing this
Result := Lines[4];

but FPC throws an error.  The way to fix it is to do this:

Result := Lines.Strings[4];

Any reason why this doesn't work?  Does it have to do with the "default" declaration that doesn't work that tells the compiler that the property with just a "default" after it's declaration in he class is the default property you would reference when no reference is given?

Understand that?

Shane







More information about the Lazarus mailing list