< Rebol Programming

USAGE:

TO-GET-PATH value 

DESCRIPTION:

Converts to get-path! value.

TO-GET-PATH is a function value.

ARGUMENTS

  • value -- (Type: any)

SOURCE CODE

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
]
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.