I should remove that text. I first thought it would be OK to get the
return type from the first return statement, like the type of a variable
can be inferred from the initialization. However, the return statement
can be anywhere, making it difficult to find the type. I prefer to
require explicitly specifying the type. It's also more in balance with
the argument types.
The new style functions do require a return statement, there is no
default.
--
hundred-and-one symptoms of being an internet addict:
35. Your husband tells you he's had that beard for 2 months.
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language --
http://www.Zimbu.org ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///