Chapter Contents

Previous

Next
Collection Class: _contains

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 Update specifies the item for which the existence is being tested
item2 Character Update specifies the item for which the existence is being tested
item3 List Update specifies the item for which the existence is being tested
item4 Object Update specifies the item for which the existence is being tested


Chapter Contents

Previous

Next

Top of Page

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