<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>supermr</author_name>
  <author_url>https://blog.hatena.ne.jp/supermr/</author_url>
  <blog_title>阻止限界点突破</blog_title>
  <blog_url>https://supermr.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>以下のようにコードを記述 Dim iEnd As Integer Dim iResult As Integer iEnd = 5 iResult = 0 For i = 1 To iEnd iEnd = 0 iResult = iResult + 1 Next MsgBox &quot;ループ回数は&quot; &amp; Str(iResult), vbInformation, &quot;結果発表&quot; 実行結果 どうやら終値に変数を使用した場合、ループに入った時のものを記憶して使っているようです。途中で変わろうと知ったこっちゃ無い様子。 他の言語はどうなんだろうか。今まで終わりに変数を当てたことがないのでわからないや。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsupermr.hatenadiary.org%2Fentry%2F20090702%2F1246546211&quot; title=&quot;検証・VBのFor文の終値が変数の場合 - 阻止限界点突破&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/s/supermr/20090702/20090702234815.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-07-02 23:50:11</published>
  <title>検証・VBのFor文の終値が変数の場合</title>
  <type>rich</type>
  <url>https://supermr.hatenadiary.org/entry/20090702/1246546211</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
