Chapter Contents

Previous

Next
Ordered Collection Class: _contains

Ordered Collection Class: _contains



Tests for the existence of an item in the collection


Syntax

Syntax

return = objectName._contains( item );
return = objectName._contains( item2 );
return = objectName._contains( item3 );
return = objectName._contains( item4 );

Argument Type Use Description
return Numeric Return returns whether an item exists in the collection: 1 if exists, 0 if not
item Numeric Input specifies the item for which to test the existence
item2 Character Input specifies the item for which to test the existence
item3 List Input specifies the item for which to test for existence
item4 Object Input specifies the item for which to test for existence


Chapter Contents

Previous

Next

Top of Page

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