{"id":3021,"date":"2025-11-21T20:36:17","date_gmt":"2025-11-21T12:36:17","guid":{"rendered":"https:\/\/zhenti.52daan.com\/?p=3021"},"modified":"2025-11-21T20:36:17","modified_gmt":"2025-11-21T12:36:17","slug":"%e6%9c%89%e5%a6%82%e4%b8%8b%e7%a8%8b%e5%ba%8f%ef%bc%9a-const-n-5-const-m-6-dim-an-to-m-as-integer-for-i-lbounda-1-to-ubounda-1-ai-i-next-i-print-albounda-1-aubounda-1","status":"publish","type":"post","link":"https:\/\/zhenti.52daan.com\/?p=3021","title":{"rendered":"\u6709\u5982\u4e0b\u7a0b\u5e8f\uff1a Const n = -5 Const m = 6 Dim a(n To m) As Integer For i = LBound(a, 1) To UBound(a, 1) a(i) = i Next i Print a(LBound(a, 1)); a(UBound(a, 1)) \u8fd0\u884c\u540e\u8f93\u51fa\u7684\u7ed3\u679c\u4e3a\uff08 \uff09\u3002 0 6 ; 0 0 ; -5 0 ; -5 6 A. B. C. D."},"content":{"rendered":"<p>\u6709\u5982\u4e0b\u7a0b\u5e8f\uff1a Const n = -5 Const m = 6 Dim a(n To m) As Integer For i = LBound(a, 1) To UBound(a, 1) a(i) = i Next i Print a(LBound(a, 1)); a(UBound(a, 1)) \u8fd0\u884c\u540e\u8f93\u51fa\u7684\u7ed3\u679c\u4e3a\uff08 \uff09\u3002 0 6 ; 0 0 ; -5 0 ; -5 6 A. B. C. D.<\/p>\n<p>\u6b63\u786e\u7b54\u6848\uff1aD<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6709\u5982\u4e0b\u7a0b\u5e8f\uff1a Const n =&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[106],"class_list":["post-3021","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-visual-basic"],"_links":{"self":[{"href":"https:\/\/zhenti.52daan.com\/index.php?rest_route=\/wp\/v2\/posts\/3021","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zhenti.52daan.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zhenti.52daan.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zhenti.52daan.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zhenti.52daan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3021"}],"version-history":[{"count":0,"href":"https:\/\/zhenti.52daan.com\/index.php?rest_route=\/wp\/v2\/posts\/3021\/revisions"}],"wp:attachment":[{"href":"https:\/\/zhenti.52daan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3021"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zhenti.52daan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3021"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zhenti.52daan.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3021"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}