馬上註冊  |  找回密碼

SAY討論區

查看: 355|回復: 0
打印 上一主題 下一主題

Delphi- Record Field 要怎樣解決?? 各位大大幫幫忙,十二萬分感謝。。 [複製鏈接]

好友
0
帖子
124731
積分
124889
最後登錄
2019-2-28
在線時間
0 小時
跳轉到指定樓層
樓主
發表於 2012-5-12 02:35:32 |只看該作者 |倒序瀏覽
<div class="blockcode"><span class="headactions" onclick="copycode($('code0'));">複製內容到剪貼板</span><h5>代碼:</h5><code id="code0">procedure TForm1.Button1Click(Sender: TObject);
MailingListRecord = record
FirstName : String;
LastName : String;
Address : String;
Ciy : String;
State : String;
Zip : Integer;
end;

var
MLRecord : TMailingListRecord;

begin
MLRecord.FirstName := 'Bruce';
MLRecord.LastName := 'Reisdorph';
MLRecord.Address := '123, XXX, NewYork';
MLRecord.City := 'New York';
MLRecord.State := 'NY';
MLRecord.Zip := '99999';

Label1.Caption := MLRecord.LastName;
end;

end.</code>
分享分享0 收藏收藏0 讚好讚好0 Unlike!Unlike!0 分享 傳送 邀請
您需要登錄後才可以回帖 登錄 | 馬上註冊 |

Archiver|手機版|SAY討論區

GMT+8, 2026-5-26 15:33 , Processed in 0.631926 second(s), 8 queries .

Powered by go2tutor.comDiscuz! X2

© 2026 Community Networks Limited

回頂部