<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>fortran66</author_name>
  <author_url>https://blog.hatena.ne.jp/fortran66/</author_url>
  <blog_title>fortran66のブログ</blog_title>
  <blog_url>https://fortran66.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>こちらの互換関数があります。 fortran66.hatenablog.comC 言語の sizeof 関数のように、構造体などのデータ長を返す関数は Fortran にはないと思っていたのですが、なんと INQUIRE 文で得ることが出来るようです。ただし、単位がファイルのレコード長の単位なので、バイト長が欲しいならばレコード長の単位をコンパイラのオプションなどバイトに直しておく必要があります。 program inq implicit none type :: t_test sequence integer(2) :: i character :: ch end type t_test t…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffortran66.hatenablog.com%2Fentry%2F2016%2F06%2F14%2F022552&quot; title=&quot;C 言語の sizeof 関数の代わりになりうる Fortran の inquire 命令 - fortran66のブログ&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>2016-06-14 02:25:52</published>
  <title>C 言語の sizeof 関数の代わりになりうる Fortran の inquire 命令</title>
  <type>rich</type>
  <url>https://fortran66.hatenablog.com/entry/2016/06/14/022552</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
