I have a dream... ^^
It would be very useful to could use a optional callback-parameter with
CopyDirectory and DeleteDirectory.
I think, I should make an example.
Code: Select all
Procedure.l Callback (sFilename.s , lAttributes.l)
Debug "File '" + sFilename + "' will copied."
If lAttributes & #PB_File_System
ProcedureReturn #False ; interrupt the copy-processs
EndIf
ProcedureReturn #True
EndProcedure
CopyDirectory ("c:\myfiles" , "c:\myporns")
CopyDirectory ("c:\myfiles" , "c:\myporns" , @Callback ())
Wolf