<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>eiji8pou</author_name>
  <author_url>https://blog.hatena.ne.jp/eiji8pou/</author_url>
  <blog_title>eiji8pou's diary</blog_title>
  <blog_url>https://eiji8pou.hatenadiary.com/</blog_url>
  <categories>
    <anon>Lua</anon>
  </categories>
  <description>Lua を使ってみようより。 local t = {apples=&quot;林檎&quot;, banana=&quot;バナナ&quot;, grapes=&quot;グレープ&quot;} こういうテーブルtがあったとして、その中身を全部出すには。 その１：基本 for k, v in pairs(t) do hoge(k, v) end forとpairsを使ったごく普通のやり方。 その２：応用 k, v = next(t) while k do hoge(k, v); k, v = next(t, k) end 書き換え。nextを使う利点は、たとえばテキストを改行で区切ってテーブルにした物で、複数の行でひとつのデータを構成する場合などにいけ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Feiji8pou.hatenadiary.com%2Fentry%2F20090823%2F1250982327&quot; title=&quot;テーブルの中身を全部ぶちまける構文 - eiji8pou&amp;#39;s diary&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>2009-08-23 08:05:27</published>
  <title>テーブルの中身を全部ぶちまける構文</title>
  <type>rich</type>
  <url>https://eiji8pou.hatenadiary.com/entry/20090823/1250982327</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
