Hello world
hello.erl
-module(hello). -export([start/0]). start() -> io:format("Hello world~n").
11> c(hello). {ok,hello} 12> hello:start(). Hello world ok
hello.erl
-module(hello). -export([start/0]). start() -> io:format("Hello world~n").
11> c(hello). {ok,hello} 12> hello:start(). Hello world ok