try without catch

Nick Linker xlcr@REDACTED
Wed Nov 16 09:53:07 CET 2005


Ulf Wiger (AL/EAB) wrote:

>Yes, of course, but part of the reason was to see whether
>it worked as described in the manual. ;-)
>
>The 'of', 'catch' and 'after' parts of the try statement
>are all optional, so
>
>try Expr of 
>   Result -> Action
>end
>
>should have been allowed (and it was - by the compiler).
>
>/Uffe
>  
>
Ok, I see, thanks.


Best regards,
Linker Nick



More information about the erlang-questions mailing list