<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); "><div class="gmail_quote"><div class="im" style="color: rgb(80, 0, 80); ">On 28 August 2011 13:46, Roberto Ostinelli <span dir="ltr"><<a href="mailto:roberto@widetag.com" target="_blank" style="color: rgb(7, 77, 143); ">roberto@widetag.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
is there any way to retrieve a record item whose identifier is in a variable? For instance:<br><br></blockquote><div><br></div></div><div>You could probably quickly cook up a function or macros that does that using <font face="'courier new', monospace">record_info</font> as detailed in <a href="http://www.erlang.org/doc/reference_manual/records.html#id80708" target="_blank" style="color: rgb(7, 77, 143); ">http://www.erlang.org/doc/reference_manual/records.html#id80708</a>. </div>
</div><div><br></div><font color="#888888">-- <br>"Perhaps people don't believe this, but throughout all of the discussions of entering China our focus has really been what's best for the Chinese people. It's not been about our revenue or profit or whatnot."<br>
--Sergey Brin, demonstrating the emptiness of the "don't be evil" mantra.</font></span>