global_name_server question.

Craig Dickson crd@REDACTED
Thu Jun 3 22:44:05 CEST 1999


Luke Gorrie <luke@REDACTED> wrote:

> "Craig Dickson" <crd@REDACTED> writes:
> 
> > copy3(File1, File2) ->
> >     file:write_file("dot_login",
> >                     begin {ok, B} = file:read_file(".login"), B end).
> 
> Interesting, I've never come across "begin" before.  Could you please
> give me a pointer to where it's documented?  Perhaps I just missed it
> in the general documentation, or are there some nice features tucked
> away in the specification/reference manual only?

Erlang 4.7.3 Reference Manual, section 6.20.6, "Block Expressions".

Craig





More information about the erlang-questions mailing list