logo       

Re: the beginner: msg#00431

lang.erlang.general

Subject: Re: the beginner

hi all,
thanks for all your response

my file math1.erl as Wiliam Dominic writen.
-module(math1).
-export([factorial/1]).
factorial (0) ->1;
factorial (N) -> N * factorial (N-1).

one that make me confused, the error point to line 8 but it only has 4 line :(

I have tried to compile with so many formats ( in space format), but it still didn't work.

thanks
Wicak


===========================================================================================
"TELKOMNet Instan memberikan diskon 40% untuk akses malam hari dari pukul 23.00
sampai 06.00.
Berlaku untuk wilayah Jawa Timur mulai 1 Mei 2003 sampai 30 Juni 2003."
===========================================================================================



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

News | FAQ | advertise