有狐: 办法是有的 [阅读: 317] 2007-04-13 06:01:42 type TMyRecord = record A: Integer; B: string; end; function GetRecord: TMyRecord; begin Result.B := 'pcplayer'; end; procedure Test; var R: TMyRecord; begin R := GetRecord; end; 大概这意思