Rebol Programming/to-get-path

USAGE:

edit
TO-GET-PATH value 

DESCRIPTION:

edit

Converts to get-path! value.

TO-GET-PATH is a function value.

ARGUMENTS

edit
  • value -- (Type: any)

SOURCE CODE

edit
to-get-path: func ["Converts to get-path! value." value][
    value: to-path :value 
    if word? pick value 1 [poke value 1 to-get-word pick value 1] 
    value
]