writing a simple function

Jasbir Nagi <>
Mon Sep 11 15:24:07 CEST 2000


Hi,

I'm new to erlang programming, and I'm trying to work out how to write a 
programme that Erlang can Compile that imports a function from another 
module, and iterates that function, say, 1000 times. (For timer purposes, so 
I can work out how long it is taking).

What would the basic template be? (ie what do for loops look like, how is a 
function imported/exported, how are variables initialized etc.)

nagi
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.




More information about the erlang-questions mailing list