1 2 3 4 5 6 7 8 9 10 11
-module(hello2). -export([hello/1]). hello(Name) -> io:format("Hey ~s!~n", [Name]). % 3> c(hello2). % {ok,hello2} % 4> hello2:hello("Joe"). % Hello Joe! % ok