
|
Go to the first, previous, next, last section, table of contents.
- 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.
|