REBOL 3 Docs | Guide | Concepts | Functions | Datatypes | Errors |
TOC < Back Next > | Updated: 3-Aug-2010 Edit History |
Returns a copy of the path turned into a directory.
Arguments:
path [file! string! url!]
Convert a file name to a directory name.
For example:
probe dirize %dir
%dir/
It is useful in cases where paths are used:
dir: %files/examples
new-dir: dirize dir/new-code
probe new-dir
%files/examples/new-code/
This is useful because the PATH notation does not allow you to write:
new-dir: dirize dir/new-code/
TOC < Back Next > | REBOL.com - WIP Wiki | Feedback Admin |