Friday, December 19, 2008 Tip of the Day: Programmatically Clean Scratch Files on Exit
Section: Additional PROPERTY and GETPROPERTY Commands Supported Versions: . R:BASE 7.6 for Windows (Build: 7.6.5.31229 or higher) . R:BASE C/S:I 7.6 for Windows (Build: 7.6.5.31229 or higher) . R:BASE Turbo V-8 for Windows (Build: 8.0.19.31229 or higher) . R:BASE eXtreme (v9) for Windows (Build: 9.0.1.11229 or higher) Current versions of R:BASE 7.6, Turbo V-8 and R:BASE eXtreme allow you to Clean Scratch Files on Exit by using the R:BASE Settings option, such as: Main Window|Main Menu|Settings|Clean Scratch Files on Exit However, when using the R:Compiled or Runtime applications, this option is not available obviously, for restricted access to all settings, designers, and the R> prompt. Did you know that you can programmatically clean scratch files on exit, using the following PROPERTY command in the application start file, as "On Before Start Custom EEP" in main application form, External Form File, or R:BASE Application (.RBA) file? PROPERTY APPLICATION CLEANSCRATCHFILESONEXIT 'TRUE' RETURN Using this option will automatically clean all scratch files on exiting your compiled or runtime application. Enjoy! Very Best R:egards, Razzak.

