Specifying the Data Type

You do one of the following to specify the data type for the value that a method returns:

  • End the method name with a type character.

  • Use the following clause:
    As funcType
    

Note the following:

  • If you do not specify a type, then the method that the Declare Procedure statement declares defaults to the data type variant.

  • To use a record argument, you use an As clause and a type that is already defined with the Type statement.

  • To use an array argument, you use empty parentheses after the argument. You do not specify an array dimension in the Declare Procedure statement.