[erlang-questions] bitstr

shehan shehan@REDACTED
Mon Mar 31 04:35:57 CEST 2008


Tx for help . 

bitstr -> bitstring in new ERlang 12b-1 version

-----Original Message-----
From: Tuncer Ayaz [mailto:tuncer.ayaz@REDACTED] 
Sent: Sunday, March 30, 2008 8:27 PM
To: shehan
Cc: erlang-questions@REDACTED
Subject: Re: [erlang-questions] bitstr

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