{"id":69,"date":"2008-03-13T00:44:01","date_gmt":"2008-03-13T04:44:01","guid":{"rendered":"http:\/\/www.prglab.com\/blog\/p\/69"},"modified":"2009-08-10T23:09:14","modified_gmt":"2009-08-11T03:09:14","slug":"%e7%ae%80%e5%8d%95%e8%af%9d%e5%86%85%e8%a1%a8internal-table","status":"publish","type":"post","link":"https:\/\/www.prglab.com\/blog\/p\/69","title":{"rendered":"\u7b80\u5355\u8bdd\u5185\u8868(internal table)"},"content":{"rendered":"<p><span style=\"color: #000000;\">\u5185\u8868\u662f\u4e00\u4e2a\u8fd0\u884c\u72b6\u6001\u4e0b\u5b58\u5728\u7684\u5b9e\u4f8b\uff0c\u5b83\u5728\u7a0b\u5e8f\u5f00\u59cb\u8fd0\u884c\u65f6\u624d\u751f\u6210\uff0c\u5728\u7a0b\u5e8f\u7ed3\u675f\u8fd0\u884c\u65f6\u88ab\u9500\u6bc1\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u5185\u8868\u5305\u542b\u4e24\u4e2a\u90e8\u5206\uff0c\u53ef\u6709\u53ef\u65e0\u7684\u6807\u9898\u884c(HeaderLine)\uff0c\u548c\u5fc5\u9700\u7684\u8868\u8eab\u3002<\/span>\u8fdb\u51fa\u5185\u8868\u7684\u503c\u90fd\u5fc5\u987b\u901a\u8fc7\u6807\u9898\u884c\u3002<\/p>\n<p><span style=\"color: #000000;\">\u7a0b\u5e8f\u4f8b\u5b50\uff1a<\/span><\/p>\n<p><span style=\"color: #000000;\">* \u58f0\u660e<\/span><br \/>\n<span style=\"color: #000000;\">data: begin of itab occurs 0,<\/span><br \/>\n<span style=\"color: #000000;\">x type c,<\/span><br \/>\n<span style=\"color: #000000;\">y type i,<\/span><br \/>\n<span style=\"color: #000000;\"> end of itab.<\/span><\/p>\n<p><span style=\"color: #000000;\">* \u521d\u59cb\u5316\u6807\u9898\u884c headerline<\/span><br \/>\n<span style=\"color: #000000;\"> itab-x = &#8216;d&#8217;.<\/span><br \/>\n<span style=\"color: #000000;\"> itab-y = 34.<\/span><br \/>\n<span style=\"color: #000000;\"> <\/span><br \/>\n<span style=\"color: #000000;\">* \u5411\u5185\u8868\u4e2d\u5b58\u5165\u503c<\/span><br \/>\n<span style=\"color: #000000;\">append itab. <\/span><br \/>\n<span style=\"color: #000000;\">append itab.<\/span><br \/>\n<span style=\"color: #000000;\">append itab.<\/span><\/p>\n<p><span style=\"color: #000000;\">* \u8bfb\u53d6\u5185\u8868\u4e2d\u7684\u503c<\/span><br \/>\n<span style=\"color: #000000;\">loop at itab .<\/span><br \/>\n<span style=\"color: #000000;\">write: \/ itab-x, <\/span><span style=\"color: #000000;\">itab<\/span><span style=\"color: #000000;\">-y.  &#8220;\u8f93\u51fa\u5217\u8868<\/span><br \/>\n<span style=\"color: #000000;\">endloop.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5185\u8868\u662f\u4e00\u4e2a\u8fd0\u884c\u72b6\u6001\u4e0b\u5b58\u5728\u7684\u5b9e\u4f8b\uff0c\u5b83\u5728\u7a0b\u5e8f\u5f00\u59cb\u8fd0\u884c\u65f6\u624d\u751f\u6210\uff0c\u5728\u7a0b\u5e8f\u7ed3\u675f\u8fd0\u884c\u65f6\u88ab\u9500\u6bc1\u3002 \u5185\u8868\u5305\u542b\u4e24\u4e2a\u90e8\u5206\uff0c\u53ef\u6709\u53ef\u65e0\u7684\u6807\u9898\u884c(HeaderLine)\uff0c\u548c\u5fc5\u9700\u7684\u8868\u8eab\u3002\u8fdb\u51fa\u5185\u8868\u7684\u503c\u90fd\u5fc5\u987b\u901a\u8fc7\u6807\u9898\u884c\u3002 \u7a0b\u5e8f\u4f8b\u5b50\uff1a * \u58f0\u660e data: begin of itab occurs 0, x type c, y type i, end of itab. * \u521d\u59cb\u5316\u6807\u9898\u884c headerline itab-x = &#8216;d&#8217;. itab-y = 34. * \u5411\u5185\u8868\u4e2d\u5b58\u5165\u503c append itab. append itab. append itab. * \u8bfb\u53d6\u5185\u8868\u4e2d\u7684\u503c loop at itab . write: \/ itab-x, itab-y. &#8220;\u8f93\u51fa\u5217\u8868 endloop.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[11],"tags":[],"_links":{"self":[{"href":"https:\/\/www.prglab.com\/blog\/wp-json\/wp\/v2\/posts\/69"}],"collection":[{"href":"https:\/\/www.prglab.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.prglab.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.prglab.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.prglab.com\/blog\/wp-json\/wp\/v2\/comments?post=69"}],"version-history":[{"count":2,"href":"https:\/\/www.prglab.com\/blog\/wp-json\/wp\/v2\/posts\/69\/revisions"}],"predecessor-version":[{"id":144,"href":"https:\/\/www.prglab.com\/blog\/wp-json\/wp\/v2\/posts\/69\/revisions\/144"}],"wp:attachment":[{"href":"https:\/\/www.prglab.com\/blog\/wp-json\/wp\/v2\/media?parent=69"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.prglab.com\/blog\/wp-json\/wp\/v2\/categories?post=69"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.prglab.com\/blog\/wp-json\/wp\/v2\/tags?post=69"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}