How to do table lookups?
Vance Shipley
vances@REDACTED
Wed Mar 3 20:26:51 CET 2004
What the heck is this? Binaries must be a number of bits
divisable by 8 however the example Edmund gave doesn't give
an immediate error but instead returns siomething which
actually isn't a binary!
-Vance
Erlang (BEAM) emulator version 5.3 [source] [threads:0]
Eshell V5.3 (abort with ^G)
1> <<A:1, Rest/binary>> = <<255>>.
<<255>>
2> A.
1
3> is_binary(Rest).
false
4> Rest.
{[1,1,1,1,1,1,1],
7,
<<>>}
More information about the erlang-questions
mailing list