{"id":562,"date":"2024-02-04T20:53:09","date_gmt":"2024-02-04T12:53:09","guid":{"rendered":"https:\/\/www.ientertech.com\/blog\/?p=562"},"modified":"2024-02-04T20:53:09","modified_gmt":"2024-02-04T12:53:09","slug":"lazarus%e6%95%b0%e7%bb%84","status":"publish","type":"post","link":"https:\/\/www.ienter.com.cn\/blog\/2024\/02\/lazarus%e6%95%b0%e7%bb%84.html","title":{"rendered":"Lazarus\u6570\u7ec4"},"content":{"rendered":"<p>1. \u4e00\u7ef4\u6570\u7ec4<br \/>\n\u5305\u542b\u591a\u4e2a\u5b58\u50a8\u50ee\uff0c\u6570\u636e\u7c7b\u578b\u76f8\u540c\uff0c\u53ea\u9700\u8981\u6307\u5b9a\u6570\u7ec4\u540d\u548c\u4e0b\u6807\u5c31\u53ef\u4ee5<br \/>\n\u6ce8\u610f\uff1a\u6570\u636e\u7c7b\u578b\u4efb\u610f\uff0c\u751a\u81f3\u53ef\u4ee5\u662f\u4e00\u4e2a\u6570\u7ec4\u3002\u4e0b\u6807\u7c7b\u578b\u4e5f\u53ef\u4ee5\u662f\u4efb\u4f55\u7684\u987a\u5e8f\u7c7b\u578b\uff0c\u6574\u578b\u3001\u5e03\u5c14\u578b\u3001\u5b57\u7b26\u7c7b\u578b\u3001\u679a\u4e3e\u7c7b\u578b\uff0c\u5b50\u754c\u7c7b\u578b\u3002<br \/>\ntype<br \/>\n  typename = array [\u4e0b\u6807\u7c7b\u578b] of \u6570\u636e\u7c7b\u578b;<br \/>\n\u5982\uff1a<br \/>\ntype<br \/>\n  enum_type = 1..50;<br \/>\n  arraytype = array [enum_type] of integer;<br \/>\n\u76f8\u5f53\u4e8e<br \/>\ntype<br \/>\n  arraytype = array [1..50] of integer;<br \/>\n\/\/\u7a0b\u5e8f\u793a\u4f8b\uff1a<br \/>\ntype<br \/>\n  arraytype = array[1..50] of integer;<br \/>\nvar<br \/>\n  myarray : arraytype;<br \/>\n\u4f7f\u7528\uff1a<br \/>\nfor count := 1 to 50 do<br \/>\n  read (myarray[count]);<\/p>\n<p>2.\u591a\u7ef4\u6570\u7ec4<br \/>\n\u8bed\u6cd5\uff1a<br \/>\ntype<br \/>\n  datatype = array [enum_type1, enum_type2] of datatype;<br \/>\n\u4f8b\u5b50\uff1a<br \/>\ntype<br \/>\n  StatusType = (X, O, Blank);\u3010\u5e8f\u5217\u5305\u542b\u4e09\u4e2a\u72b6\u6001\u503c\u3011<br \/>\n  BoardType = array[1..3,1..3] of StatusType;<br \/>\nvar<br \/>\n  Board : BoardType;<br \/>\n\u521d\u59cb\u5316\uff1a<br \/>\nfor count1 := 1 to 3 do<br \/>\n  for count2 := 1 to 3 do<br \/>\n    Board[count1, count2] := Blank;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. \u4e00\u7ef4\u6570\u7ec4 \u5305\u542b\u591a\u4e2a\u5b58\u50a8\u50ee...<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[64],"class_list":["post-562","post","type-post","status-publish","format-standard","hentry","category-develop","tag-lazarus"],"_links":{"self":[{"href":"https:\/\/www.ienter.com.cn\/blog\/wp-json\/wp\/v2\/posts\/562","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ienter.com.cn\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ienter.com.cn\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ienter.com.cn\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ienter.com.cn\/blog\/wp-json\/wp\/v2\/comments?post=562"}],"version-history":[{"count":1,"href":"https:\/\/www.ienter.com.cn\/blog\/wp-json\/wp\/v2\/posts\/562\/revisions"}],"predecessor-version":[{"id":563,"href":"https:\/\/www.ienter.com.cn\/blog\/wp-json\/wp\/v2\/posts\/562\/revisions\/563"}],"wp:attachment":[{"href":"https:\/\/www.ienter.com.cn\/blog\/wp-json\/wp\/v2\/media?parent=562"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ienter.com.cn\/blog\/wp-json\/wp\/v2\/categories?post=562"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ienter.com.cn\/blog\/wp-json\/wp\/v2\/tags?post=562"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}