Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Clipper Tools One Guide - <b>dsetqfile()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
DSETQFILE()

Syntax:     DSETQFILE() ([<expL>])

Arguments:  <expL> Determines whether the automatic installation of a
            "quit" file is switched on or off.

Returns:    A logical value.
            Indicates whether a "quit" file will be opened.  The previous
            setting of <expL> is returned when a new value is given.

Usage:      This function can be used to initiate the production of a
            "quit" file.  This information file cam be used to establish
            whether an application correctly or abnormally (for
            example Ctrl-Alt-Del)
            The contents of the keyboard buffer are written to a file
            when the program terminates.  Using this method, the user
            can keep track of the keyboard inputs made, which can be
            used in fault tracing and reconstruction.  The value for
            TYPEAHEAD must be selected large enough for your own
            purposes, otherwise it would only be possible to store a
            maximum of 16 characters in the keyboard buffer.  Adjusting
            TYPEAHEAD to the maximum value possible for example,
            would mean a maximum of 32768 key strikes stored for
            inspection.

Note:       The basic setting for opening a "quit" file is FALSE (.F.)(do
            not set up key file).  The keyboard data will appear in the
            file in the KEYREAD() format (see Appendix A:Key Codes).

            Only those keyboard inputs that were "consumed" by the
            application are written into the file (i.e.  those which have
            already been processed by the program).  This procedure
            corresponds to the function KEYREAD().

            The existing "quit" file will be overwritten when a new
            program executes.


Library:    CT1.LIB


--------------------------------- Example ------------------------------

Examples:   DSETQFILE(.T.)              && QUIT file is set up



See Also: KEYREAD()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson