![]() |
Institut für Astronomie und AstrophysikAbteilung AstronomieWaldhäuser Str. 64, D-72076 Tübingen, Germany |
![]() |
DBSEARCH
Subroutine of DBFIND() to search a vector for specified values
dbsearch, type, svals, values, good, [ /FULLSTRING, COUNT = ]
type - type of search (output from dbfparse)
svals - search values (output from dbfparse)
values - array of values to search
good - indices of good values
/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.
COUNT - Integer scalar giving the number of valid matches
The obsolete system variable !ERR is set to number of good values
D. Lindler July,1987
Converted to IDL V5.0 W. Landsman September 1997
Added COUNT keyword, deprecate !ERR W. Landsman March 2000
[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]