[erlang-questions] First Erlang experiences- not so good
Thu Sep 25 22:04:49 CEST 2008
When I compile your example.erl on Linux, I get:
:~/erlang$ erlc ~/Desktop/example.erl
/home/rec-ubuntu/Desktop/example.erl:1: syntax error before: '-'
/home/rec-ubuntu/Desktop/example.erl:2: syntax error before: p
/home/rec-ubuntu/Desktop/example.erl:4: syntax error before: a
/home/rec-ubuntu/Desktop/example.erl:7: syntax error before: a
/home/rec-ubuntu/Desktop/example.erl:9: syntax error before: a
/home/rec-ubuntu/Desktop/example.erl:10: no module definition
which are exactly the same errors that you get when you compiled it on
So the Linux version of Erlang has the same sensitivity to encodings as the
-- rec --
On Thu, Sep 25, 2008 at 11:50 AM, Tony Cappellini <>wrote:
> I get the same compile errors when I typed in the code and saved it.
> The author of that article downloaded the sources, compiled and ran
> them on his linux system, so it is not a download issue.
> If the Windows version of the Erlang shell is sensitive to encodings,
> it is a language related issue, not a download issue.
> > It could be time to change the subject to "bad download experiences"
> > this seems less and less to have anything to do with erlang.
> > -Rick
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions