Google

Go to the first, previous, next, last section, table of contents.


get_rootdir

get_rootdir()
:: Asir のルートディレクトリ名を取り出す
return
文字列
  • UNIX 版の場合, 環境変数 ASIR_LIBDIR が定義されている場合にはその値, されていない場合 には `/usr/local/lib/asir' を返す.
  • Windows 版の場合, `asirgui.exe' のあるディレクトリ (`bin' という名前のはずである) の親ディレクトリが返される.
  • この関数が返すディレクトリ名を基準とした相対パス名を指定することにより, インストール された場所によらないファイル読み込みプログラムを書くことができる.


Go to the first, previous, next, last section, table of contents.