try without catch

Ulf Wiger (AL/EAB) ulf.wiger@REDACTED
Wed Nov 16 11:24:44 CET 2005


Gunilla Arendt wrote:
> 
> Actually, the reference manual says:
> 
> "The of, catch and after sections, are all optional in the 
> try expression, as long as there is at least a catch or an 
> after section"
> 
> Also, I get "syntax error before: 'end'" when I try to 
> compile a try without catch and after?


Well, what do you know. So do I, in fact. <blush/>

That's what you get from trying to write code and 
follow a presentation at the same time.  (:

I apologize for broadcasting before double-checking
my own observations.

/Uffe



More information about the erlang-questions mailing list