erlang install & setup, test
TRANSCRIPT
Erlang Install
2016
Erlang Install 11. Eclipse : 4.2.2 Junohttps://
www.eclipse.org/downloads/packages/release/Juno/SR2
• Erlang : otp_win64_19.0
https://www.erlang.org/downloads
Erlang Install 22. Erlang : otp_win64_19.0https://www.erlang.org/downloads
Erlang Install 33. Eclipse Erlang ide plug-in : http://erlide.org/articles/eclipse/
120_Installing-and-updating.html#update_sites
1. Juno Download
2. Erlang Download
3. Eclipse Erlang ide plug-in
4. Eclipse Add-inMenu -> Help -> Install New Software -> Add
ErlIdehttp://download.erlide.org/update
5. Erlang Project
6. Create Erlang Project
7. Test Erlang (Module)
8. Test Erlang (hi.eri)
9. Coding (hi.eri)%% @author jake%% @doc @todo Add description to hi.
-module(hi).
%% ====================================================================%% API functions%% ====================================================================-export([romee/0]).
romee() ->io:format("Hi rommee~n").
%% ====================================================================%% Internal functions%% ====================================================================
10. Execution (hi.eri)
Path : Src pathIt will be make forder path error.
11. Debug
Eshell V8.0(hi@MOON)1> pwd().C:/Users/jake/Downloads/0 and/game/hi/srcok(hi@MOON)2> c(hi).{ok,hi}(hi@MOON)3> hi:romee().Hi rommeeok(hi@MOON)4>