Script Library: 1218 scripts
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

Discussion posts for script file-list.r

1
greggirwin
20-Oct-2006 0:14
REBOL

The hardest part about things is often the semantic design, and the behavior, not the implementation. With a function like this, you have questions about when to return just a filename, or when to return a fully qualified path to a file, what to ignore by default, etc. I know how I've used it, and have made some changes based on that, but I'd like to get input from others to get that stuff right, so more people can use it effectively.

Contents:

1. Examples

1. Examples

what-changed: func [dir date] [
    file-list/deep/callback 
        compose [(dir) modified on (date)] 
        func [file] [print mold file]
]

today: does [now/date]

what-changed %/c/proj/ibeam/* today
MakeDoc2 by REBOL- 20-Oct-2006
Notes