|
NLSL
|
I/O UTILITY ROUTINES FOR NLS COMMAND INTERPRETER. More...
Go to the source code of this file.
Functions/Subroutines | |
| logical function | getlin (line) |
| issue a prompt and retreive a line from command stream More... | |
| subroutine | gettkn (line, token, lth) |
| Written for free-form input of parameters for slow-motional calculations. Returns a token consisting of nonseparator characters (separators are space, tab, and ',') with all control. More... | |
| subroutine | ungett (token, lth, line) |
| logical function | ftoken (token, lth, val) |
| logical function | itoken (token, lth, ival) |
| integer function | indtkn (line) |
I/O UTILITY ROUTINES FOR NLS COMMAND INTERPRETER.
Contains four functions and two subroutines:
getlin -- issue a prompt, retrieve a line from command stream * gettkn -- extract a token from the given line (subroutine) ungett -- replace a token at the line's beginning (subroutine) ftoken -- returns a real number itoken -- returns an integer number indtkn -- returns an index, i.e., a parenthesized number *
Definition in file strutl1.f90.
| logical function ftoken | ( | character | token, |
| integer | lth, | ||
| double precision | val | ||
| ) |
Definition at line 182 of file strutl1.f90.
| logical function getlin | ( | character*80 | line | ) |
issue a prompt and retreive a line from command stream
Definition at line 32 of file strutl1.f90.

| subroutine gettkn | ( | character | line, |
| character | token, | ||
| integer | lth | ||
| ) |
Written for free-form input of parameters for slow-motional calculations. Returns a token consisting of nonseparator characters (separators are space, tab, and ',') with all control.
characters filtered out. Special cases: '(', ')', '=', '*', and end-of-line, which are returned as single-character tokens.
Definition at line 75 of file strutl1.f90.

| integer function indtkn | ( | character | line | ) |
| logical function itoken | ( | character*30 | token, |
| integer | lth, | ||
| integer | ival | ||
| ) |
Definition at line 248 of file strutl1.f90.
| subroutine ungett | ( | character | token, |
| integer | lth, | ||
| character | line | ||
| ) |