<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sonota88</author_name>
  <author_url>https://blog.hatena.ne.jp/sonota88/</author_url>
  <blog_title>memo486</blog_title>
  <blog_url>https://memo88.hatenablog.com/</blog_url>
  <categories>
    <anon>vm2gol-v2</anon>
  </categories>
  <description>目次ページに戻る / 前 / 次 前回からの差分をまとめて見る 関数呼び出しができて、 ローカル変数が使えるようになって、 引数も渡せるようになりました。 あと関数まわりは返り値をどうにかすれば一通り必要なものが揃います。 今回は次の2つのステップに分けます。 値を返すだけ 返された値を（呼び出し元の）ローカル変数にセットする。 ではやっていきましょう。 値を返すだけ まずはこれをコンパイルします。 // 20_return.vgt.json [&quot;stmts&quot; , [&quot;func&quot;, &quot;main&quot; , [] , [ [&quot;call&quot;, &quot;fn_sub&quot;] ] ] , [&quot;func&quot;, &quot;fn_su…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemo88.hatenablog.com%2Fentry%2F2019%2F06%2F15%2F113630&quot; title=&quot;vm2gol v2 製作メモ（20） 値を返却してローカル変数に代入 / return, call_set文 - memo486&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>2019-06-15 11:36:30</published>
  <title>vm2gol v2 製作メモ（20） 値を返却してローカル変数に代入 / return, call_set文</title>
  <type>rich</type>
  <url>https://memo88.hatenablog.com/entry/2019/06/15/113630</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
