{"id":423,"date":"2016-04-04T14:55:40","date_gmt":"2016-04-04T05:55:40","guid":{"rendered":"http:\/\/www.onepage.co.kr\/wordpress\/?p=423"},"modified":"2016-04-04T14:55:40","modified_gmt":"2016-04-04T05:55:40","slug":"asp-2-dimension-array","status":"publish","type":"post","link":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/2016\/04\/04\/asp-2-dimension-array\/","title":{"rendered":"asp 2 dimension array"},"content":{"rendered":"<p>Dim arr(3, 4)<br \/>\n&#8216;4\ud589 5\uc5f4 \ubc30\uc5f4<br \/>\n&#8216;0\ubd80\ud130 \uc2dc\uc791\ud558\ubbc0\ub85c \ud589\uc740 0,1,2,3\uae4c\uc9c0 \ucd1d 4\ud589<br \/>\n&#8216;0\ubd80\ud130 \uc2dc\uc791\ud558\ubbc0\ub85c \uc5f4\uc740 0,1,2,3,4 \uae4c\uc9c0 \ucd1d 5\uc5f4<\/p>\n<p>numrows = UBound(arr, 1) &#8216;\ud589<br \/>\nnumcols = UBound(arr, 2) &#8216;\uc5f4<br \/>\ncnt = 0<\/p>\n<p>For i = 0 To numrows &#8216;\ud589<br \/>\nFor j = 0 To numcols &#8216;\uc5f4<br \/>\narr(i, j) = cnt<br \/>\n&#8216; response.write &#8220;{&#8220;&amp; i &amp;&#8221;,&#8221;&amp;j&amp;&#8221;}&#8221;<br \/>\nResponse.Write(&#8220;{ &#8221; &amp; arr(i, j) &amp; &#8221; }&#8221;)<br \/>\ncntcnt = cnt + 1<br \/>\nNext<br \/>\nResponse.Write(&#8220;&lt;br \/&gt;&lt;br \/&gt;&#8221;)<br \/>\nNext<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Dim arr(3, 4) &#8216;4\ud589 5\uc5f4 \ubc30\uc5f4 &#8216;0\ubd80\ud130 \uc2dc\uc791\ud558\ubbc0\ub85c \ud589\uc740 0,1,2,3\uae4c\uc9c0 \ucd1d 4\ud589 &#8216;0\ubd80\ud130 \uc2dc\uc791\ud558\ubbc0\ub85c \uc5f4\uc740 0,1,2,3,4 \uae4c\uc9c0 \ucd1d 5\uc5f4 numrows = UBound(arr, 1) &#8216;\ud589 numcols = UBound(arr, 2) &#8216;\uc5f4 cnt = 0 For i = 0 To numrows &#8216;\ud589 For j = 0 To numcols &#8216;\uc5f4 arr(i, j) = cnt &#8216; response.write &#8220;{&#8220;&amp; i &amp;&#8221;,&#8221;&amp;j&amp;&#8221;}&#8221; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-423","post","type-post","status-publish","format-standard","hentry","category-general"],"_links":{"self":[{"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/423","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/comments?post=423"}],"version-history":[{"count":1,"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/423\/revisions"}],"predecessor-version":[{"id":424,"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/423\/revisions\/424"}],"wp:attachment":[{"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/media?parent=423"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/categories?post=423"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/tags?post=423"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}