space and Binary syntax

Karlsson Mikael qramika@REDACTED
Mon Oct 2 10:42:50 CEST 2000


How should space characters be treated in the
Binary syntax?
I get the following results from within the Erlang
shell:

Eshell V5.0.1  (abort with ^G)
1> Bin=<<8,16>>.
** 1: syntax error before: '<' **
1> Bin =<<8,16>>.
** 1: syntax error before: '<' **
1> Bin= <<8,16>>.
<<8,16>>
2> Bin2 = <<8,16>>.
<<8,16>>

/Mikael Karlsson




More information about the erlang-questions mailing list