[erlang-questions] Fw: Newbie question

Maxim Treskin zerthurd@REDACTED
Tue Jul 21 20:10:39 CEST 2009


>
> So "Data" is still in scope even though the receive ended?  If the receive
> was inside a function, would the scope of "Data" be limited to that
> function?
>
>
No. You have badarg error in io:format. There is no 'exception error: no
match of right hand side value', only badarg.

-- 
Maxim Treskin


More information about the erlang-questions mailing list