[sv-ac] #1532

From: Kulshrestha, Manisha <Manisha_Kulshrestha_at_.....>
Date: Fri Jul 28 2006 - 16:21:46 PDT
Hi,
 
As we were discussing in the meeting if the tasks or functions require
empty '()' in all cases or not. Here is what LRM says about it:
 
12.4.5 Optional argument list
When a void function or class function method specifies no arguments,
the empty parenthesis, (), following
the subroutine name shall be optional. This is also true for tasks, void
functions, and class methods that
require arguments, when all arguments have defaults specified. It shall
be illegal to omit the parenthesis in a
directly recursive nonvoid function method call that is not
hierarchically qualified.
 
It is hard to draw a direct conclusion about sequences/properties.
Should they be treated like void functions and therefore empty
parenthesis be optional ?
 
Manisha
Received on Fri Jul 28 16:21:50 2006

This archive was generated by hypermail 2.1.8 : Fri Jul 28 2006 - 16:22:01 PDT