Mattias Gärtner wrote:
fix <> workaround ;)
[GRIN] At least nobody's shot me down in flames telling me that Pascal
/has/ to work that way :-)
Just found somewhere that I was applying trim() to a character variable-
not quite sure I meant to do that and FPC scores over Delphi in picking
it
Zitat von Mark Morgan Lloyd :
> dhkblas...@zeelandnet.nl wrote:
>
> >> FPC 2.2.0 is giving me duplicate identifier errors for "sort" and
> >> "strings" above.
>
> > Add {$mode delphi} to the top of your unit. ObjFPC mode is more strict.
>
> Thanks, I think that fixes it although I'm still working
dhkblas...@zeelandnet.nl wrote:
FPC 2.2.0 is giving me duplicate identifier errors for "sort" and
"strings" above.
Add {$mode delphi} to the top of your unit. ObjFPC mode is more strict.
Thanks, I think that fixes it although I'm still working through the
affected unit.
I presume I'm cor
> I've got a class that looks in part like this:
>
> TTextStore= CLASS(TStringList)
> PRIVATE
>PROCEDURE NeverSort(sort: BOOLEAN);
> PUBLIC
>FUNCTION HereDocument(CONST name: STRING; VAR strings:
> TStringList): BOOLEAN;
>PRO
I've got a class that looks in part like this:
TTextStore= CLASS(TStringList)
PRIVATE
PROCEDURE NeverSort(sort: BOOLEAN);
PUBLIC
FUNCTION HereDocument(CONST name: STRING; VAR strings:
TStringList): BOOLEAN;
PROCEDURE Sort; OVERRI