Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Artful Two for Clipper 5.0 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

Syntax

SCRAPFILES( [ cFname ] )

Purpose

Add a file name to the list of those to be scrapped at program termination,
in a STATIC variable, or scrap them all.

Arguments

     cFname -- if passed, name of file to add to scrap list; if no
               parameter is passed, all files listed in _aascrap are
               deleted

Setup

The function maintains its scrap list in the PUBLIC string _aascrap, which
it declares and initialises.

Example

     SCRAPFILES( "junk" )

Returns

.T. if successful, otherwise .F.

Side Effects

Adds to _aascrap or deltes all files listed in it.

Artful Calls

DELFILES.

Source File

AA_SCRAP.PRG

Notes

SIGN_OFF() and QUITPROG() call this function to close the screens file, and
remove it and other temporary files. If you don't end your programs this
way you must call SCRAPFILES() in order to ensure that temporary files are
closed and deleted.

See Also: DELFILES() SIGN_OFF()

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