[erlang-questions] variable unbound
Fri Apr 3 11:35:28 CEST 2009
I thought that the scope was the function and not the branch ! I must learnt more on Erlang !!
>On 3 Apr 2009, at 1:57 am, Gamoto wrote:
>> I don't understand. After the reception of the filename the variable
>> S is defined !
>*IN THAT BRANCH*.
>It's defined in one branch of the 'receive',
>but used in the other, where it is _not_ defined.
More information about the erlang-questions