一些小知识点

    xiaoxiao2021-03-25  72

    code:get_path() 加载路径的设定值 code:add_patha() 增加目录到开头 code:add_pathz()

    q() 退出 = init:stop() enlang:halt() init:get_argument(home)

    命令行执行erlang语句: erl -eval ‘io:format(“memory:~p~n”,[erlang:memory(total)]’ -noshell -s init stop. -noshell 启动erlang但关闭shell -s hello start 运行hello:start()

    编译模块时可以直接export所有的接口,方便调试 -compile(export_all)

    转载请注明原文地址: https://ju.6miu.com/read-35373.html

    最新回复(0)