8 Oct
2017
8 Oct
'17
2:10 p.m.
On 2017-10-08 13:55, Jörg wrote:
No. If we allow anonymous procedures, you don't have to declare parameters again. They are stated in RealFunction already. It should be enough to write Integral ( RealFunction(RETURN Math.sin(v)), 0.0, Math.pi));
This is a matter of taste. In my opinion, omitting formal parameter names in anonymous functions makes source code difficult to read. Richard