<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>chaichanPaPa</author_name>
  <author_url>https://blog.hatena.ne.jp/chaichanPaPa/</author_url>
  <blog_title>旧燈明日記</blog_title>
  <blog_url>https://chaipa.hateblo.jp/</blog_url>
  <categories>
    <anon>VB-TIPS</anon>
  </categories>
  <description>割り込みのテストの時にゼロ除算を良く使用します。 しかし、VB2005では以下のようなしてもゼロ除算割り込みが発生しないのです。 これは、「/」を「\」に変更すると割り込みが発生するようになります。ちなみに、「\」は整数除算算術演算子で、「/」は除算算術演算子という。 また、余りを求めるには、Mod演算子を使用する。 割り込みが発生しない Try Dim aa = 0 Dim bb = 4 / aa Catch ex As Exception MsgBox(&quot;Exception発生&quot;) End Try 割り込みが発生する Try Dim aa = 0 Dim bb = 4 \ aa Catch…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchaipa.hateblo.jp%2Fentry%2F20080218%2F1203335720&quot; title=&quot; VB2005でのゼロ除算の留意点 - 旧燈明日記&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>2008-02-18 20:55:20</published>
  <title> VB2005でのゼロ除算の留意点</title>
  <type>rich</type>
  <url>https://chaipa.hateblo.jp/entry/20080218/1203335720</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
