[erlang-questions] Issue with "Programming Erlang" sample
Tue Apr 16 15:08:38 CEST 2013
On 16/04/13 14:52, John Williston wrote:
> Good morning,
you should change the export line to this
Since start is using spwan to call the loop function, it must be exported.
Otherwise, as the error says, the function can't be used from outside
> =ERROR REPORT==== 10-Apr-2013::10:31:17 ===
> Error in process <0.39.0> with exit value:
> Can anyone suggest what might be wrong? I’m running under Windows 7
> Professional x64 for sake of reference. Thanks in advance!
More information about the erlang-questions