Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Books 1-3 - <b>setqname()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 SETQNAME()
 Changes the file and path name for the QUIT file
------------------------------------------------------------------------------
 Syntax

     SETQNAME([<cFileSpecification>]) --> lAmended

 Argument

     <cFileSpecification>  Designates the new file name for the QUIT file
     which can include a path and file extension.  The default name for this
     file is the name of the active .EXE file with a .Q extension.

 Returns

     SETQNAME() returns .T. when the new name and path are successfully set.

 Description

     The DSETQFILE() function allows you to create a QUIT file when a
     CA-Clipper application returns to DOS.  The default name for this file
     is the name of the .EXE file with a .Q extension.  Unless otherwise
     specified, the QUIT file is saved in the directory from which the
     application was started.

     Using SETQNAME() you can designate an alternate name and a completely
     different path for saving the QUIT file.

 Note

     .  Calling this function without parameters returns .F., the
        default value.  The QUIT file name is reset to the default name.

 Example

     Change the name for the QUIT file:

     SETQNAME("C:\LOGS\PROTO.LOG")
     DSETQFILE(.T.)               // Alternative name for QUIT file


See Also: DSETQFILE()

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