Gets a number value from an OLE2 Automation Object, using the specified method.
FUNCTION OLE2.Invoke_Num
(object obj_type,
method VARCHAR2,
Arglist List_Type := 0)
RETURN NUMBER;
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. |
/*
** Get the number value using the specified method.
*/
the_num:=OLE2.Invoke_Num (spreadsheet_obj, 'npv',
my_Arglist);