the beginner

Bengt Kleberg eleberg@REDACTED
Wed Apr 30 13:51:38 CEST 2003


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

...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




More information about the erlang-questions mailing list