Chapter Contents

Previous

Next
Object Class: _addMethod

Object Class: _addMethod



Adds a method to a class or object


Syntax
Details

Syntax

return = objectName._addMethod( metadataList, returnMethodID );
return = objectName._addMethod( metadataList );
return = objectName._addMethod( methodName, entry, label );
return = objectName._addMethod( methodName, entry, label, signature );
return = objectName._addMethod( methodName,entry, label, signature, returnMethodID );

Argument Type Use Description
return Numeric Return returns a value indicating whether the method was successfully added: 0 if successful, 1 if not successful
metadataList List Input specifies a list of named items containing the method metadata
returnMethodID Numeric Output returns the unique number assigned by the system to identify a specific method
methodName Character Input specifies the name of the method to add
entry Character Input specifies the catalog entry containing the implementation for the method
label Character Input specifies the SCL label where the method is implemented
signature List Input specifies the id of a list containing named items that define the method signature


Details

The _addMethod signature that passes metadataList is valid on both class and instance; the remaining signatures are valid on instance only.


Chapter Contents

Previous

Next

Top of Page

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