<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>chakoku</author_name>
  <author_url>https://blog.hatena.ne.jp/chakoku/</author_url>
  <blog_title>chakokuのブログ(rev4)</blog_title>
  <blog_url>https://chakoku.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>背景：子供からSASをやる必要があると相談を受ける(特にマクロ定義)。SASはクセ強言語でワケが分からない*1 取り組み：SAS言語処理系は普通には買えないので、無料で使える、SAS Studioでmacroを少し勉強 結論：SASのmacroはSASソースコードが実行される前にテキストベースでソースコードに対して置換が行われる(SASのTutorialではコンパイルと書かれている)。置換された新しいソースコードがSASのコードとして実行されると理解。だから、SASのマクロをPythonのdef(関数定義)と類推すると、誤解が生じて大いにハマる。Lispのmacroと同じと思えばいいのではない…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchakoku.hatenablog.com%2Fentry%2F2024%2F09%2F28%2F213357&quot; title=&quot;SASのマクロを勉強する（そもそもワケが分からない） - chakokuのブログ(rev4)&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>https://cdn-ak.f.st-hatena.com/images/fotolife/c/chakoku/20240928/20240928213328.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-09-28 21:33:57</published>
  <title>SASのマクロを勉強する（そもそもワケが分からない）</title>
  <type>rich</type>
  <url>https://chakoku.hatenablog.com/entry/2024/09/28/213357</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
