NCEPLIBS-bufr  12.0.0
nemock.f File Reference

Check the validity of a mnemonic. More...

Go to the source code of this file.

Functions/Subroutines

function nemock (NEMO)
 This function checks a mnemonic to verify that it has a length of between 1 and 8 characters and that it only contains characters from the allowable character set. More...
 

Detailed Description

Check the validity of a mnemonic.

Author
J. Woollen
Date
1994-01-06

Definition in file nemock.f.

Function/Subroutine Documentation

◆ nemock()

function nemock ( character*(*)  NEMO)

This function checks a mnemonic to verify that it has a length of between 1 and 8 characters and that it only contains characters from the allowable character set.

Parameters
[in]NEMO- character*(*): mnemonic to be checked
Returns
- integer: indicator as to whether NEMO is valid:
  • 0 yes
  • -1 no, the length is not between 1 and 8 characters
  • -2 no, it contains characters from outside of the allowable character set
Author
J. Woollen
Date
1994-01-06

Definition at line 17 of file nemock.f.

Referenced by rdusdx(), seqsdx(), sntbbe(), and sntbde().