A script-enabled browser is required for this page to function properly.

OLE2.Invoke_Num

Description

Gets a number value from an OLE2 Automation Object, using the specified method.

Syntax


FUNCTION OLE2.Invoke_Num
   (object   obj_type,
    method   VARCHAR2,
    Arglist  List_Type := 0)
RETURN NUMBER;

Parameters

Parameter Description
object An OLE2 Automation Object.
method The name of an OLE2 Automation method (function) that returns a number value.
Arglist The name of an argument List assigned to the OLE2.Create_Arglist Function.

Returns

A number value.

Example


 /*
**  Get the number value using the specified method.
*/
the_num:=OLE2.Invoke_Num (spreadsheet_obj, 'npv',
	my_Arglist);