2009-09-25 109 views

回答

2

With Unix.chdir d其中d是一個字符串。

更多相關功能: Unix module

+0

如果我使用Windows什麼? – 2009-09-25 01:20:46

+3

那麼,如果你使用Windows,庫仍然被命名爲Unix並且包含相同的功能。所以它與您習慣使用的Windows API不同,但您正在編寫多平臺代碼而不費力氣。 注:1993年在INRIA實習期間,我實際上實現了Windows版本的模塊「Unix」。 – 2009-09-25 01:24:15

+1

我無法抗拒吹牛,因爲它的主題是:http://mirror.ocamlcore.org/caml。 inria.fr/pub/ml-archives/caml-list/1996/09/fa00da44a2bd17b3c9752ee328039bde.en.html – 2009-09-25 01:26:01