Returning Result Sets to the Caller

A variable specified on the RETURNS clause of a FUNCTION block is added to the parameter list, after the parameters from the function block and before any parameters from the ENVIRONMENT statement. If the language environment sets a value for this variable, the value will be returned to the caller. If the function call to the language environment is a parameter to another function call, this result will be passed as the parameter. If the function call is part of a literal string or a dynamic variable reference, then the result will become part of the string that Net.Data resolves. Otherwise, Net.Data will print the result to the Web server.


[ Top of Page | Previous Page | Next Page | Index ]