REBOL 3 Docs | Guide | Concepts | Functions | Datatypes | Errors |
TOC < Back Next > | Updated: 3-Aug-2010 Edit History |
Evaluate a block while in a directory.
Arguments:
dir [file!] - Directory to change to (changed back after)
block [block!] - Block to evaluate
This is useful if you need to temporarily switch to a different directory to do something, and then switch back without manually doing so.
Example:
in-dir %tmp-dir/ [tmp-files: read %.]
TOC < Back Next > | REBOL.com - WIP Wiki | Feedback Admin |