Fri Feb 25 19:20:52 CET 2005
On Fri, 25 Feb 2005, Kostis Sagonas wrote:
> > so i read this in the reference manual
> > (http://www.erlang.se/doc/doc-5.4/doc/reference_manual/part_frame.html);
> > <<E1,...,En>>
> > Ei = Value |
> > Value:Size |
> > Value/TypeSpecifierList |
> > Value:Size/TypeSpecifierList
> > used in a binary construction, Value is an expression which should
> > evaluate to an integer, float or string.
> Congratulations, you've found a typo in the manual! The above line should
> read "evaluate to an integer, float or binary".
Well only sort of a bug.
<<"string">> works. So if the string is a constant known at compile time
you can use this form.
Daniel Luna | Top reasons that I have a beard:
luna@REDACTED | a) Laziness.
http://www.update.uu.se/~luna/ | b) I can.
Don't look at my homepage (it stinks).| c) I can get away with it.
More information about the erlang-questions