Chapter Contents

Previous

Next
Ordered Collection Class: _getIndex

Ordered Collection Class: _getIndex



Returns the index of the first occurrence found of an item


Syntax

Syntax

return = objectName._getIndex( item );
return = objectName._getIndex( item, position );
return = objectName._getIndex( item3 );
return = objectName._getIndex( item5, position );
return = objectName._getIndex( item7 );
return = objectName._getIndex( item9, position );
return = objectName._getIndex( item11 );
return = objectName._getIndex( item13, position );

Argument Type Use Description
return Numeric Return returns the position at which the first occurrence of the item was found in the collection
item Numeric Input specifies the item for which to search
position Numeric Input specifies the position to start the search of the collection
item3 Character Input specifies the item for which to search
item5 Character Input specifies the item for which to search
item7 List Input specifies the item for which to search
item9 List Input specifies the item for which to search
item11 Object Input specifies the item for which to search
item13 Object Input specifies the item for which to search


Chapter Contents

Previous

Next

Top of Page

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