Section 7.10

Add new paragraph at end of section.

 

When a function or task built-in method call specifies no arguments, the empty parenthesis, (), following the function name is optional.  This is also true for tasks or functions that require arguments and all arguments have defaults specified.  For a method, this rule allows simple calls to appear as properties of the object or built-in type. Similar rules are defined for functions and tasks in Section 10.5.5.

 

Insert after Section 10.5.4

 

Section 10.5.5 Optional argument list

When a task or function specifies no arguments, the empty parenthesis, (), following the function name is optional.  This is also true for tasks or functions that require arguments and all arguments have defaults specified.