Extended IDL Help

This page was created by the IDL library routine mk_html_help. For more information on this routine, refer to the IDL Online Help Navigator or type:

     ? mk_html_help

at the IDL command line prompt.

Last modified: Fri Feb 2 17:44:43 2001.


List of Routines


Routine Descriptions

CMP_ALL_PRO

[Next Routine] [List of Routines]
 Project     : SOHO - CDS

 Name        : CMP_ALL_PRO

 Purpose     : Compares all procedure files in one path against another.

 Explanation : 

 Use         : CMP_ALL_PRO, PATH1, PATH2

 Inputs      : PATH1	= Primary path to use in the comparison.  All the
			  ".pro" files in PATH1 will be compared against their
			  equivalents (if any) in PATH2.

		PATH2	= Secondary path list.  This is a character string
			  listing one or more paths to use in looking for
			  equivalents of the procedure files found in PATH1.
			  The format is that used by FIND_WITH_DEF.

 Opt. Inputs : None.

 Outputs     : Messages about which files differ, or are not found, are
		printed to the terminal screen.

 Opt. Outputs: None.

 Keywords    : None.

 Calls       : CMP_FILES, FIND_WITH_DEF, CONCAT_DIR, BREAK_PATH

 Common      : None.

 Restrictions: None.

 Side effects: None.

 Category    : Software_management.

 Prev. Hist. : None.

 Written     : William Thompson, GSFC, 30 April 1993.

 Modified    : Version 1, William Thompson, GSFC, 30 April 1993.
		Version 2, William Thompson, GSFC, 21 June 1993.
			Modified so that "not found" messages are shorter.

 Version     : Version 2, 21 June 1993.

(See .//cmp_all_pro.pro)


CMP_FILES

[Previous Routine] [Next Routine] [List of Routines]
 Project     : SOHO - CDS

 Name        : CMP_FILES()

 Purpose     : Checks whether two text files are identical or not.

 Explanation : This routine reads in two text files and compares them line by
		line to determine if they are different or not, similar to the
		Unix routine "cmp".

 Use         : Result = CMP_FILES( FILENAME1, FILENAME2 )

		IF CMP_FILES('file1.pro','file2.pro') EQ 1 THEN	$
			PRINT,'file1.pro and file2.pro are different'

 Inputs      : FILENAME1, FILENAME2 are the names of the two files to check
		against each other.

 Opt. Inputs : None.

 Outputs     : The result of the function is one of the following values:

			0 = The files are identical
			1 = The files are different
			2 = An error occured

 Opt. Outputs: None.

 Keywords    : None.

 Calls       : None.

 Common      : None.

 Restrictions: None.

 Side effects: None.

 Category    : Software_management.

 Prev. Hist. : None.

 Written     : William Thompson, GSFC, 30 April 1993.

 Modified    : Version 1, William Thompson, GSFC, 30 April 1993.

 Version     : Version 1, 30 April 1993.

(See .//cmp_files.pro)


CMP_TREES

[Previous Routine] [List of Routines]
 Project     : SOHO - CDS

 Name        : CMP_TREES

 Purpose     : Compares all procedure files in one path against another.

 Explanation : 

 Use         : CMP_TREES, DIR1, DIR2

 Inputs      : DIR1	= Start of the first directory tree to use in the
			  comparison.  All the files "*.pro" in DIR1 and
			  subdirectories will be compared against their
			  equivalents (if any) in the tree starting with DIR2.

		DIR2	= Start of the second path list.

 Opt. Inputs : None.

 Outputs     : Messages about which files differ, or are not found, are
		printed to the terminal screen.

 Opt. Outputs: None.

 Keywords    : OUTPUT	= The name of a file to store the output in.  If not
			  passed, then the output is written to the screen
			  using /MORE.
		FILES	= The filenames to compare.  If not passed, then
			  "*.pro" is used.  The FILES keyword can be used to
			  change this to "*.*" for instance.
		UNIX	= If set, then the Unix "cmp" command is used to do the
			  comparison, rather than depending on IDL.

 Calls       : CMP_FILES, FIND_WITH_DEF, CONCAT_DIR, FIND_ALL_DIR

 Common      : None.

 Restrictions: None.

 Side effects: None.

 Category    : Software_management.

 Prev. Hist. : None.

 Written     : William Thompson, GSFC, 31 May 1994

 Modified    : Version 1, William Thompson, GSFC, 31 May 1994
		Version 2, William Thompson, GSFC, 13 June 1994
			Added keyword FILES.  Changed FILENAME to OUTPUT.
			Added keyword UNIX.
		Version 3, William Thompson, GSFC, 15 June 1994
			Changed so that output is the same, regardless of
			whether or not the UNIX keyword is set.

 Version     : Version 3, 15 June 1994

(See .//cmp_trees.pro)