[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

Sand 1, D-72076 Tübingen, Germany
[Uni logo]


DBFIND_SORT Source code in dbfind_sort.pro

DBFIND_SORT

Name
       DBFIND_SORT
Purpose
       Subroutine of DBFIND to perform a search using sorted values
Explanation
       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!
Calling Sequence
       dbfind_sort, it, type, svals, list, [/FULLSTRING, COUNT = ]
Input Parameters
       it - item number, scalar
       type - type of search (output from dbfparse)
       svals - search values (output from dbfparse)
Parameters
       list - found entries
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 matches found
System Variables
       The obsolete system variable !err is set to number of good values
       !ERR = -2 for an invalid search
Revision History
       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

Last modified by pro2html on 2003 January 22 at 04:36 UTC

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

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