
Method Call Statement
♦Syntax: Method(arg1, arg2, …)
♦The method call is the entire statement.
♦ The method being called can return a value, but it is ignored.
♦ This is the only place where a method that does not return a value can be called.
♦The method call statement can be used at the module level and class level for compile-time logic, and at the method level for run-time logic.
♦ If the method call statement is used at the module or class level, the method identifier must be marked with the ‘compiler’ keyword and each term in the expression must either be a constant or also marked with ‘compiler’.
♦ If the method call statement is used at the method level, the method identifier must not be marked with the ‘compiler’ keyword.