Google

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


which

which("filename")
:: 引数 filename に対し, load() が読み込むパス名を返す.
return
パス名
filename
ファイル名 (パス名) または 0
  • load() がファイルをサーチする手順に従ってサーチし, ファイルが存在する場合にはパス名を文字列として, 存在しない場合 には 0 を返す.
  • サーチの手順については load() を参照.
  • Windows 版もディレクトリのセパレータとして `/' を用いる.
[0] which("gr");               
./gb/gr
[1] which("/usr/local/lib/gr");
0
[2] which("/usr/local/lib/asir/gr");
/usr/local/lib/asir/gr
参照
section load.


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