2010-03-23 53 views

回答

3

如果你确切地想要那样的行为,c:c(module_name)将调用shell调用的相同函数。我会毫不犹豫地在代码中放入调用user_default(c)函数的代码,因此您可能希望查看the source for the function并将其复制到您自己的代码中,以免在将来的erlang版本中发生行为更改时被咬。

+0

辉煌!那工作。谢谢 – Zubair 2010-03-23 21:19:20

1

你可能想看看compile模块和compile:file/2函数的具体情况。