[erlang-questions] bitstr

Tuncer Ayaz tuncer.ayaz@REDACTED
Sun Mar 30 16:56:43 CEST 2008


2008/3/30 shehan <shehan@REDACTED>:
>
>
>
>
> Hi all,
>
> I install otp_src_R12B-1 version & compile my code. But following error is
> coming.
>
>
>
> ../src/test.erl:363: bit type bitstr undefined
>
>
>
>  My code is this : NewA1 = <<NewA0/bitstr, LastBits/bitstr>>,
>
>
>
> How to eliminate this?? What is alternate data type for bitstr??

I may err but according to
http://erlang.org/doc/reference_manual/expressions.html#bit_syntax
the type is called bitstring and not bitstr.

<snip>



More information about the erlang-questions mailing list