这个函数是什么意义

这个函数是什么意思
本帖最后由 smile00_0 于 2013-11-26 11:55:36 编辑
各位大神们,谁能给我解释一下这个函数的意思,谢谢谢谢。初学者,实在是看不懂。。
function TMemIniFile.ReadString(const Section, Ident,
  Default: string): string;
var
  I: Integer;
  Strings: TStrings;
begin
  I := FSections.IndexOf(Section);
  if I >= 0 then
  begin
    Strings := TStrings(FSections.Objects[I]);
    I := Strings.IndexOfName(Ident);
    if I >= 0 then
    begin
      Result := Copy(Strings[I], Length(Ident) + 2, Maxint);
      Exit;
    end;
  end;
  Result := Default;
end;

------解决方案--------------------
初学者的话没必要看懂,这个TMemIniFile应该是个直接继承TIniFile的自定义类,就是用来处理.ini文件的
如果你知道什么是ini,那么就应该知道什么是ini的Section(节),这个函数就是用来读取ini文件中一个section内字符串部分,知道这样就可以了