Chapter Contents

Previous

Next
OLE Automation Class: _do

OLE Automation Class: _do



Invokes an OLE-supplied method that has no return value


Syntax
Details
Example

Syntax

CALL SEND (OLE-object, '_do', in-OLE-method<, in-parm,...in-parm>);

Argument Type Description
in-OLE-method
C specifies the OLE-supplied method name
in-parm
C | N provides a parameter to the OLE-supplied method


Details

_do sends an OLE-supplied method and its parameters to the automation server for execution by the server application. The number of parameters (in-parm arguments) needed varies among different OLE objects and methods. Only OLE-supplied methods that have no return value should be used with the _do method. For OLE-supplied methods with return values, use the _compute method.


Example

The following statement invokes the 'Quit' method of the automation application:

    call send(oleobj, '_do', 'Quit');


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.