logo       

Re: the beginner: msg#00424

lang.erlang.general

Subject: Re: the beginner


> From: "wicaksono " <wicak.noeg@xxxxxxxxxx>

...deleted

> first aplication using windows as my os. I create a file
> at c>Program Files\erl5.2\math1.erl as user guide.
> but while I compile it always show
>
> ./math1.erl:8: premature end
> ./math1.erl:8: no module definition
> error
>
> what is that mean ?

it would help if you included your file (math1.erl) in the email.
without it i can only guess that you might have forgotten the line:

-module(math1).

at the beginning of your file.


bengt




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise