[erlang-questions] HOWTO GENERATE RANDOM NUMBER?

Dino M. B. <>
Thu Dec 6 07:04:34 CET 2007


Hi Everyone,

I am complete erlang beginer, please elaborate.

How do I create a function in erlang  that will generate a rundom integer number btw say 1 and 10 and return it ?

Thanks


_________________________________________________________________
Exercise your brain! Try Flexicon!
http://puzzles.sympatico.msn.ca/chicktionary/index.html?icid=htmlsig


More information about the erlang-questions mailing list