Author Topic: the hfs code is not complete  (Read 1665 times)

0 Members and 1 Guest are viewing this topic.

Offline Mars

  • Operator
  • Tireless poster
  • *****
  • Posts: 1890
    • View Profile
the hfs code is not complete
« on: October 15, 2009, 01:55:22 PM »
in main.pas

Quote
 objects[add('ini='+currentCFG)]:=currentCFGhashed;
  o:=space.objects;

 ... and any more lines

BUT?
Quote
classes.pas
    property Objects[Index: Integer]: TObject read GetObject write PutObject;

function TStrings.GetObject(Index: Integer): TObject;
begin
  Result := nil;
end;

procedure TStrings.PutObject(Index: Integer; AObject: TObject);
begin
end;

I indeed have the impression that there is an unfinished work somewhere.  :D

in the build 248?  ;)
« Last Edit: October 15, 2009, 05:18:48 PM by Mars »

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12949
    • View Profile
Re: the hfs code is not complete
« Reply #1 on: October 15, 2009, 01:58:52 PM »
Good eye Mars, but there's a fault in your thinking: that are the methods of class Tstrings.
But i'm instantiating his inheritors, and they may redefine (override) such methods.
And I guess they do. :)

Offline Mars

  • Operator
  • Tireless poster
  • *****
  • Posts: 1890
    • View Profile
Re: the hfs code is not complete
« Reply #2 on: October 15, 2009, 05:09:58 PM »
So much for me, I have make the confusion of classes.pas with classeslib.pas :'(