IBM®
Skip to main content
    Country/region select      Terms of use
 
 
   
     Home      Products      Services & solutions      Support & downloads      My account     

 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback


Notes/Domino Tutorials



Element NameDescription
functionNameThe name of the function.
argumentListA comma separated list of declarations indicating the values to be passed to the function in function calls. This element is optional. The syntax for each of the arguments listed is:

arg1 As dataType

arg1 is the variable name for the argument passed into the function.

As dataType specifies the variable's data type. You can omit this clause and append a data type suffix character to arg1 to declare the variable as one of the scalar data types.
dataTypeThe data type of the value returned by the function. This element is optional.

dataType can be any of the scalar data types, or Variant, or a class name.

You can omit this clause and append a data type suffix character to functionName to declare the variable as one of the scalar data types.

statementsOne or more lines of code that specifiy the work the function is to perform. These statements can contain:
    • assignment statements
    • variable declarations
    • calls to other subprograms
    • control flow statements
    About IBM Privacy Contact