| lxdfid |
|
Table of contents
Procedure
LXDFID ( Lex, default identifier characters )
ENTRY LXDFID ( IDSPEC )
Abstract
Return the default specification for the characters that may
appear in an identifier.
Required_Reading
None.
Keywords
CHARACTER
PARSING
SCANNING
STRING
UTILITY
Declarations
IMPLICIT NONE
INTEGER MXSPEC
PARAMETER ( MXSPEC = 512 )
INTEGER LBCELL
PARAMETER ( LBCELL = -5 )
INTEGER IDSPEC ( LBCELL : * )
Brief_I/O
VARIABLE I/O DESCRIPTION
-------- --- --------------------------------------------------
IDSPEC I-O Identifier character specification.
MXSPEC P Recommended size for declaration of IDSPEC.
LBCELL P The SPICE cell lower bound.
Detailed_Input
IDSPEC is an integer cell. The caller must initialize
IDSPEC as a cell, and should use MXSPEC as the size
of IDSPEC.
Detailed_Output
IDSPEC is an integer cell containing a specification of
the head and tail identifier character sets to be
used the entry point LXIDNT in scanning strings.
Parameters
MXSPEC is the recommended size for the declaration of
IDSPEC; the caller should declare IDSPEC as shown:
INTEGER IDSPEC ( LBCELL : MXSPEC )
The caller should also initialize IDSPEC as shown:
CALL SSIZEI ( MXSPEC, IDSPEC )
LBCELL is the SPICE cell lower bound.
Exceptions
1) If IDSPEC is not properly initialized on input, or if its size
is too small, an error is signaled by a routine in the call
tree of this routine. IDSPEC is undefined on output in this
case.
Files
None.
Particulars
This routine allows a calling program to obtain the default set of
allowed patterns for identifiers recognized by LXIDNT.
Normally, this routine should be called once during the calling
program's initialization.
Examples
See the $Examples section of the umbrella routine LXNAME.
Restrictions
None.
Literature_References
None.
Author_and_Institution
N.J. Bachman (JPL)
J. Diaz del Rio (ODC Space)
B.V. Semenov (JPL)
Version
SPICELIB Version 1.1.0, 27-AUG-2021 (JDR)
Added IMPLICIT NONE statement.
Edited the header to comply with NAIF standard.
SPICELIB Version 1.0.1, 10-FEB-2014 (BVS)
Added LBCELL to the $Declarations, $Brief_I/O, and $Parameters
sections.
SPICELIB Version 1.0.0, 25-OCT-1995 (NJB)
|
Fri Dec 31 18:36:33 2021