[erlang-questions] Record information
Dmitrii Dimandt
dmitriid@REDACTED
Wed Sep 20 09:46:35 CEST 2006
Is there a way to find information on a record? That is, what fields it
contains, etc.?
That is, if I have a record like this:
-record(
forumRequest,
{
userName,
password
}
).
And I have A = #forumRequest(userName = "login", password = "pass").
I can find out the name of the record by doing element(1, A). Can I find out
that "login" is a userName and "pass" is password?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20060920/4d791e39/attachment.htm>
More information about the erlang-questions
mailing list