I'm not sure to understand the undelying problem, but I think there is a problem of syntax.<br>Is the following what you're looking for?<br><br>test() -><br>    T = #object{class='Object', props=dict:new()},
<br>    NewProps = dict:append("this", T, T#object.props),<br>    T#object{props=NewProps}.<br><br><div><span class="gmail_quote">On 7/18/07, <b class="gmail_sendername">Julio César Carrascal Urquijo (MCTS)</b> <
<a href="mailto:jcarrascal@gmail.com">jcarrascal@gmail.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;">Hi,<br><br>Is it possible at all to create a record that references it self? The
<br>following obviously doesn't work and I understand why but I'd like to<br>know if there's a work around.<br><br>-record(object, {class, props}).<br><br>test() -><br>    T = #object{class='Object', props=dict:new()},
<br>    T#object.props = dict:append("this", T, T#object.props),<br>    T.<br><br>Thanks<br><br>--<br>Julio César Carrascal Urquijo<br>Microsoft Certified Technology Specialist<br><a href="http://jcesar.3stecnoinformatica.com/">
http://jcesar.3stecnoinformatica.com/</a><br>_______________________________________________<br>erlang-questions mailing list<br><a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br><a href="http://www.erlang.org/mailman/listinfo/erlang-questions">
http://www.erlang.org/mailman/listinfo/erlang-questions</a></blockquote></div><br>