A comma-delimited list of the function’s formal parameters (if any), enclosed in parentheses. (The list can be empty.) This list declares the variables for which the function expects to be passed values when it is called. Each member of the list has the following form:
[ByVal] paramName [() | List] [As dataType]
ByVal means that paramName is passed by value; that is, the value assigned to paramName is a local copy of a value in memory rather than a pointer to that value. ByVal is optional.
paramName() is an array variable.
List identifies paramName as a list variable; otherwise, paramName can be a variable of any of the other data types that LotusScript supports. You can’t pass an array, a list, an object reference, or a user-defined data type structure by value.
As dataType specifies the variable’s data type. You can omit this clause and use a data type suffix to declare the variable as one of the scalar data types. If you omit this clause and paramName doesn’t end in a data type suffix (and isn’t covered by an existing Deftype statement), its data type is Variant. |