[erlang-questions] Strange Binary behavior

Andy W. Song wsongcn@REDACTED
Wed Aug 3 06:28:28 CEST 2011


As below:

12> A = "abc".
"abc"
13> <<A, "CDE">>.
** exception error: bad argument
14> <<"abc", "CDE">>.
<<"abcCDE">>

Any idea?

Regards
Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110803/a92c1465/attachment.htm>


More information about the erlang-questions mailing list