home *** CD-ROM | disk | FTP | other *** search
RISC OS BBC BASIC V Source | 1995-10-22 | 1.3 KB | 30 lines |
- >ScrapLib
- -----------------------------------------------------------------------
- ScrapFile Handling Routines (version 1.00 22-10-95)
- -----------------------------------------------------------------------
- Public Methods Supported
- FN_shell_Scrap_Init
- PROCshell_ScrapCreateDir
- PROCshell_ScrapRemoveDir
- Private Methods Supported
- None
- Module Global Variables (do not use outside this module!)
- None
- *|Start FN_shell_Scrap_Init
- _shell_Scrap_Init
- *|Stop FN_shell_Scrap_Init
- $*|Start PROCshell_ScrapCreateDir
- shell_ScrapCreateDir( app_name$ )
- If Scrap directory already exists then delete it, then create
- it again...
- shell_FileExists( "<Wimp$ScrapDir>." + app_name$ )
- ( "Wipe <Wimp$ScrapDir>." + app_name$ + " ~CFR~V" )
- ( "CDir <Wimp$ScrapDir>." + app_name$ )
- ,#*|Stop PROCshell_ScrapCreateDir
- /$*|Start PROCshell_ScrapRemoveDir
- shell_ScrapRemoveDir( app_name$ )
- Now tidy up again by deleting the scrap directory
- shell_FileExists( "<Wimp$ScrapDir>." + app_name$ )
- ("Wipe <Wimp$ScrapDir>." + app_name$ + " ~CFR~V")
- :#*|Stop PROCshell_ScrapRemoveDir
-