-module(helloworld).
-export([start/0]).
start() ->
B = 6,
A = fun(X) ->
io:fwrite("~p~n",[X]),
io:fwrite("~p~n",[B])
end,
A(5).
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/266364.html
-module(helloworld).
-export([start/0]).
start() ->
B = 6,
A = fun(X) ->
io:fwrite("~p~n",[X]),
io:fwrite("~p~n",[B])
end,
A(5).
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/266364.html