Chapter Contents

Previous

Next
Object Class: _hasMethod

Object Class: _hasMethod



Determines whether a method exists for an object


Syntax
Details

Syntax

objectName._hasMethod( methodName, status );

Argument Type Use Description
methodName Character Input specifies the method
status Numeric Output returns a value indicating whether the method exists for the object: 1 if it exists, 0 if it does not exist


Details

A method exists if it is defined in the object's instance methods (see Object Class: _setInstanceMethod), in the object's class, or in an object name in a delegate's list for the object's class or one of the ancestor classes. The method may be inherited.


Chapter Contents

Previous

Next

Top of Page

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