Var
  RecordString:TStringList;
  I:Integer;
Begin
  RecordString:=TStringList.Create;             
  RecordString.AddObject('MyDate',Pointer(StrtoInt('123')),
  I:=LongInt(RecordString.Objects[0]);
最后I的到值喂123。
这就可以达到存储'123'的目的。但如果是'NB'这类无法用StrToInt转化的非数字数据呢?