<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>toburau</author_name>
  <author_url>https://blog.hatena.ne.jp/toburau/</author_url>
  <blog_title>ゲームが作れるようになるまでがんばる日記</blog_title>
  <blog_url>https://toburau.hatenablog.jp/</blog_url>
  <categories>
    <anon>雑記</anon>
  </categories>
  <description>プチコンmkIIでゲームの作成中にプログラムを実行しようとしたら、配列が二重定義されているというエラー(Duplicate definition)が。プログラムコードを見直してみても特に同じ名前の配列は無い。いろいろと調べた結果、結局CLEAR命令で初期化を行っていなかったのが原因。 プログラム停止したあと、RUNで再実行しても変数内容はクリアされないという仕様。つまり最初の1回目の実行時は大丈夫だったけど、2回目からエラーになってしまったというわけ。 C言語のように実行するたびに初期化されると思ってた。今までは変数しか使っていなかったので問題にならなかった。 プログラムコードの先頭にCLEA…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftoburau.hatenablog.jp%2Fentry%2F20120830%2F1346348297&quot; title=&quot;二重定義エラー - ゲームが作れるようになるまでがんばる日記&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>2012-08-30 02:38:17</published>
  <title>二重定義エラー</title>
  <type>rich</type>
  <url>https://toburau.hatenablog.jp/entry/20120830/1346348297</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
