<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ktrito33</author_name>
  <author_url>https://blog.hatena.ne.jp/ktrito33/</author_url>
  <blog_title>怠日記</blog_title>
  <blog_url>https://nmk365.hatenablog.jp/</blog_url>
  <categories>
    <anon>VBScript</anon>
  </categories>
  <description>VBScript にはループを途中で抜ける Exit ステートメントはあるのだが、ループの先頭に戻すステートメント（ほかの言語で言う Continue に相当するもの）はない。IF 文の階層を深くしていけばループの先頭に戻す必要なんてないのだが、そうするとソースが読みにくくなってしまう。ループを先頭に戻すには一工夫必要である。（ちなみに VBA も同様） 次のスクリプトは数値が 1～9 の間ループし、数値が偶数のときだけメッセージを出す。このスクリプトを、数値が偶数でなければループの先頭に戻るようにしてみたい。Dim i For i = 1 To 9 '偶数であれば処理する If i Mod …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnmk365.hatenablog.jp%2Fentry%2F20240711%2F1720650600&quot; title=&quot;VBScript - ループの先頭に戻す（Continue） - 怠日記&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-07-11 07:30:00</published>
  <title>VBScript - ループの先頭に戻す（Continue）</title>
  <type>rich</type>
  <url>https://nmk365.hatenablog.jp/entry/20240711/1720650600</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
