a newbies question
Vlad Dumitrescu
vlad_dumitrescu@REDACTED
Wed Jan 21 21:29:25 CET 2004
Hi,
loop() ->
io:format(" 2 +* 4 = ~p ~~n", [2+3*4]),
timer:sleep(2000),
loop(). %% change to ma:loop().
Running code will use the new version only if there is some external call to a function in the respective module. In your case, you need to call ma:loop() instead of loop().
regards,
Vlad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20040121/53494aa8/attachment.htm>
More information about the erlang-questions
mailing list