record problem

Bengt Kleberg <>
Sun Jun 18 12:44:00 CEST 2006


On 2006-06-18 12:07, bryan rasmussen wrote:
> Why does this
> 
> -record(a,{b="b",c="c"}).
> give this
> 
> =ERROR REPORT==== 18-Jun-2006::12:03:20 ===
> Error in process <0.168.0> with exit value: 
> {{badmatch,"b"},[{erl_eval,expr,3}]}

it does not give an error in Erlang (ASYNC_THREADS,HIPE) (BEAM) emulator 
version 5.5

is there any other code surrounding the record definition?


bengt
-- 
    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