Rebol Programming/dirize
USAGE:
editDIRIZE path
DESCRIPTION:
editReturns a copy of the path turned into a directory.
DIRIZE is a function value.
ARGUMENTS
edit- path -- (Type: file string url)
SOURCE CODE
editdirize: func [ {Returns a copy of the path turned into a directory.} path [file! string! url!] ][ either #"/" <> pick path length? path [join path #"/"] [copy path] ]