> > 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