[erlang-questions] simple ets question

laurent@REDACTED laurent@REDACTED
Thu Jan 24 10:49:04 CET 2008


Hello,

> Good day all --
>
> Can anyone explain the following to me?  This is using a copy of
> otp_src_R12B-0 that I compiled under Ubuntu yesterday.
>
> I expected statement #2 to return the same value as statement #3.
[...]
> Eshell V5.6  (abort with ^G)
> 1> Tid = ets:new(test,[]).
> 15
> 2> ets:info(test).
> undefined
> 3> ets:info(Tid).

Use ets:new(test, [named_table]) to get the same result in 2> and 3>





More information about the erlang-questions mailing list