<br><br><div><span class="gmail_quote">On 10/17/07, <b class="gmail_sendername">David King</b> <<a href="mailto:dking@ketralnis.com">dking@ketralnis.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> No, he's saying that usually you write programs like this:<br><br>> So that all of the state is encased in the arguments, rather than<br>> putting some in the process dictionary.<br></blockquote></div><br>Okay, that I understand - process dictionary is discouraged in Erlang, Joe states so in his book. He did, however, says this in the book:
<br><br><div style="margin-left: 40px;">One form of usage that I do approve of is to use the processes dictionary to store "write-once" variables.<br></div><br>Anyhow - I'm simply trying to see if there are other ways besides process dictionary to simulate "current" variables. Seems like there is not.
<br><br>Thanks,<br>yc<br><br>