摘要: 一、模块内调用1> AA=fun(BB)-> io:format("this is test args ~s~n",[BB]) end.#Fun2> AA(aa).this is test argsaaok3> BB=fun()-> io:format("this is BB FUN ~n",[]) end. #Fun4> BB().this is BB FUN ok5> spawn( BB). this is BB FUN 6> spawn(fun()-> AA(cc) end).this is t 阅读全文
posted @ 2013-11-15 10:56 宁静的天空 阅读(540) 评论(0) 推荐(0)