TPUHELP.HLB  —  GET_INFO(STRING_VARIABLE)
  GET_INFO(STRING_VARIABLE)

     For an overview of the GET_INFO built-in, see the HELP topic GET_INFO.

     The following strings can be used for parameter2 when parameter1 is a
     string variable:

       Parameter 2       | Return Value  (Parameter 1 is a string variable)
      -------------------+------------------------------------------------+
       "journal"         | Array    - Information about the journal file
                         |  or        whose name you specify with the
                         | 0          string parameter.  If the specified
                         |            file is not a journal file, the
                         |            integer 0 is returned.  The array
                         |            indices and the contents of the
                         |            corresponding elements are as
                         |            follows:
                         |
                         |            Index  Contents of Element
                         |            -----  -------------------
                         |              1    The name of the buffer
                         |                   whose contents were
                         |                   journaled.
                         |
                         |              2    The date and time the journal
                         |                   file was created.
                         |
                         |              3    The date and time the edit
                         |                   session started.
                         |
                         |              4    The name of the source file. A
                         |                   source file is a file to which
                         |                   the buffer has been written.  The
                         |                   journal file maintains a pointer
                         |                   to the source file. This enables
                         |                   the journal file to retrieve
                         |                   from the source file the buffer
                         |                   contents as they were after the
                         |                   last write operation.  If the
                         |                   buffer has not been written out
                         |                   or if none of the source files
                         |                   will be available during
                         |                   recovery, this element contains
                         |                   a null string.
                         |
                         |              5    The name of the output file
                         |                   associated with the buffer.
                         |
                         |              6    The name of the original
                         |                   input file associated with the
                         |                   buffer. If there is no associated
                         |                   input file or if the input
                         |                   file will not be available during
                         |                   a recovery, this element contains
                         |                   a null string.
                         |
                         |              7    DECTPU's identification string
                         |                   for the version of DECTPU that
                         |                   wrote the journal file.
                         |
                         |            All elements are of type STRING.
                         |
                         |
       "left_margin_     | Program  - The program called when the
        action"          | or 0       user presses a self_inserting
                         |            key while the cursor is to the left
                         |            of the buffer's left margin.  Returns
                         |            0 if there is no such program.
       "post_key_        | Program  - The program called after the
        procedure"       | or 0       program bound to a key. Returns
                         |            0 if there is no such program.
       "pre_key_         | Program  - The program called before the
        procedure"       | or 0       program bound to a key.  Returns
                         |            0 if there is no such program.
       "right_margin_    | Program  - The program called when the
        action"          | or 0       user presses a self_inserting
                         |            key while the cursor is to the right
                         |            of the buffer's right margin.  Returns
                         |            0 if there is no such program.
       "self_insert"     | (1 or 0) - Indicates if printable characters are
                         |            to be inserted into the buffer if
                         |            they are not defined
       "shift_key"       | Keyword  - Keyword for the key currently used
                         | or 0       as the shift key.  Returns 0 if
                         |            there is no shift key.
       "undefined_key"   | Program  - Program called when an undefined
                         | or 0       character is entered; 0 if there
                         |            is no undefined key procedure.
      +------------------+------------------------------------------------+
Close Help