Procedure TForm1.FormCreate(Sender: TObject);Var alist: TStringList; atemp: String; S: TStrings;Begin alist := TStringList.Create; Try alist.LoadFromFile('c:/boot.ini'); If alist.Count > 1 Then Begin atemp := alist[1]; End; Finally alist.Clear; alist.Free; End; S := TStringlist.Create; Try S.Add(atemp); Application.MessageBox(PChar(S.Text), 'msg', 64); Finally S.Clear; S.Free; End;End;