[erlang-questions] records in erlang and error while creating it
Bengt Kleberg
bengt.kleberg@REDACTED
Mon Mar 5 12:52:57 CET 2007
On 2007-03-05 11:49, hemant wrote:
> this might be a really stupid question, but at shell I am doing this:
>
> 2> -record(person, {
> 2> firstName = "",
> 2> lastName = "",
> 2> age}).
>
> =ERROR REPORT==== 5-Mar-2007::16:06:35 ===
> Error in process <0.33.0> with exit value: {{badmatch,[]},[{erl_eval,expr,3}]}
the record is a preprocessor thing. you can not create records in the shell.
bengt
--
Those were the days...
EPO guidelines 1978: "If the contribution to the known art resides
solely in a computer program then the subject matter is not
patentable in whatever manner it may be presented in the claims."
More information about the erlang-questions
mailing list