Institut für Astronomie und AstrophysikAbteilung AstronomieSand 1, D-72076 Tübingen, Germany |
DBFIND_SORT
Subroutine of DBFIND to perform a search using sorted values
This is a subroutine of dbfind and is not a standalone procedure It is used to limit the search using sorted values V5.2 or later!
dbfind_sort, it, type, svals, list, [/FULLSTRING, COUNT = ]
it - item number, scalar type - type of search (output from dbfparse) svals - search values (output from dbfparse)
list - found entries
/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 matches found
The obsolete system variable !err is set to number of good values !ERR = -2 for an invalid search
D. Lindler July,1987 William Thompson, GSFC/CDS (ARC), 30 May 1994 Added support for external (IEEE) data format William Thompson, GSFC, 14 March 1995 Added keyword FULLSTRING Converted to IDL V5.0 W. Landsman September 1997 Minimize use of obsolete !ERR variable W. Landsman February 2000 Added COUNT keyword, deprecate !ERR W. Landsman March 2000 Use 64 bit integers V5.2 or later Include new IDL unsigned & 64 bit integer datatypes W.Landsman July 2001 Make sure returned list vector is LONG W. Landsman August 2001
[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]