| tchckd |
|
Table of contents
Procedure
TCHCKD ( Time components are checked )
ENTRY TCHCKD ( TYPE )
Abstract
Determine whether component checking is enabled for time strings.
Required_Reading
None.
Keywords
TIME
Declarations
IMPLICIT NONE
CHARACTER*(*) TYPE
Brief_I/O
VARIABLE I/O DESCRIPTION
-------- --- --------------------------------------------------
TYPE O Answer to the question: "Is checking enabled?"
Detailed_Input
None.
Detailed_Output
TYPE is a string that gives the answer to the question
"Is checking of components enabled?" If checking
is enabled, the value returned will be "YES" if
checking is not enabled, the value returned will
be "NO".
Parameters
None.
Exceptions
Error free.
Files
None.
Particulars
This entry point allows you to "fetch" the current settings
regarding the checking of components of a time string. This
allows you to temporarily set the action to whatever is desired
in a particular piece of code and then reset the action to
the setting in effect prior to the routines activities.
Examples
Suppose you'd like to write a routine that always applies
component checking to the components of a time string.
Use this entry point together with TPARCH and TCHECK to
make use of the built-in SPICE capabilities
get the current setting.
CALL TCHCKD ( CURNT )
CALL TPARCH ( 'YES' )
perform some time
parsing activities.
check the components.
CALL TCHECK ( TVEC, TYPE, MODS, MODIFY, OK, ERROR )
Set the checking activity back to the value prior
to the work done here.
CALL TPARCH ( CURNT )
Restrictions
None.
Literature_References
None.
Author_and_Institution
J. Diaz del Rio (ODC Space)
W.L. Taber (JPL)
Version
SPICELIB Version 1.0.1, 17-AUG-2021 (JDR)
Edited the header to comply with NAIF standard.
SPICELIB Version 1.0.0, 07-APR-1996 (WLT)
|
Fri Dec 31 18:37:01 2021