Calling a function or subroutine
Use the call statement to call a function where no return value is wanted or to call a subroutine. Enclose the argument list in parentheses. For example:
Call db.Open("", Inputbox$("File name?"))
The parentheses can be omitted if the function or subroutine takes no arguments. For example:
Call CheckAlarms
You can also omit the Call keyword. In this form, do not enclose the argument list in parentheses. For example:
db.Open "", Inputbox$("File name?")
Note: For clarity and consistency, this documentation
always uses the Call keyword.
A function reference, which resolves to its return value, consists of the name of the function followed by the argument list in parentheses. An example is Inputbox$ as follows:
Dim db As New NotesDatabase("", Inputbox$("File name"))