[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

Waldhäuser Str. 64, D-72076 Tübingen, Germany
[Uni logo]


DBSEARCH Source code in dbsearch.pro

DBSEARCH

Name
       DBSEARCH
Purpose
       Subroutine of DBFIND() to search a vector for specified values
Calling Sequence
       dbsearch, type, svals, values, good, [ /FULLSTRING, COUNT = ]
Input Parameters
       type - type of search (output from dbfparse)
       svals - search values (output from dbfparse)
       values - array of values to search
Output Parameters
       good - indices of good values
Keyword Parameters
       /FULLSTRING - By default, one has a match if a search string is
               included in any part of a database value (substring match).
               But if /FULLSTRING is set, then all characters in the database
               value must match the search string (excluding leading and
               trailing blanks).    Both types of string searches are case
               insensitive.
Optional Keyword Output
       COUNT  - Integer scalar giving the number of valid matches
Side Effects
       The obsolete system variable !ERR is set to number of good values
Revision History
       D. Lindler  July,1987
       Converted to IDL V5.0   W. Landsman   September 1997
       Added COUNT keyword, deprecate !ERR   W. Landsman   March 2000

Last modified by pro2html on 2001 April 26 at 03:12 UTC

[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]

Jörn Wilms (wilms@astro.uni-tuebingen.de)
Updated automatically