Previous: hlptx Up: ../plot79_h.html Next: hlpuic


HLPTX2

       SUBROUTINE  HLPTX2 (FILTTI,FILTTO,FILNFO,CMDSTR,LENCMD)
 C$    (Help - Read Info)
 C$    This program  displays  portions  of  a  .NFO  (iNFO)  file
 C$    created by the MKINFO utility from a .ULP (User heLP) file.
 C$    This provides a  convenient and powerful  help file  access
 C$    capability to a FORTRAN  calling program.  On entry,  files
 C$    FILTTI and FILTTO must be open.
 C$
 C$    FILTTI.........Terminal sequential input file.
 C$    FILTTO.........Terminal sequential output file.
 C$    FILNFO.........Unit number  for INFO  file.  On  the  first
 C$                   entry, it should be  closed.  On return,  it
 C$                   may be open for use on subsequent calls.
 C$    CMDSTR.........A1-format Hollerith  string which is  either
 C$                   all blank, or contains one of the  following
 C$                   forms which can  be appended to  a RDINFO  G
 C$                   (GO TO) command:
 C$
 C$                   topicname
 C$                   (filename)
 C$                   (filename)topicname
 C$
 C$                   On the first entry,  a blank string  implies
 C$                   "(DIR)Top", the directory file menu node; on
 C$                   subsequent entries, it continues in the node
 C$                   last visited.   If  FILNFO is  not  open  on
 C$                   subsequent entries (which can happen only if
 C$                   the caller closes it), and this fact can  be
 C$                   detected (which is possible if a FORTRAN  77
 C$                   INQUIRE   statement   is   available),   the
 C$                   directory file will be visited
 C$    LENCMD.........Number of characters in CMDSTR(*).
 C$
 C$    On return, FILNFO will be open, but not necessarily for the
 C$    same file as at entry, since it is possible for the user to
 C$    visit other files in the INFO system.
 C$    (21-Feb-1991)