REBOL 3 Docs Guide Concepts Functions Datatypes Errors
  TOC < Back Next >   Updated: 3-Aug-2010 Edit History  

REBOL 3 Functions: to-path

to-path  value

Converts to path! value.

Arguments:

value

See also:

to  

Description

Returns a path! value made from the given value.

colors: make object! [reds: ["maroon" "brick" "sunset"]]
p-reds: to-path [colors reds]
print form :p-reds
colors/reds
print p-reds
colors/reds
insert tail p-reds "bright"
print colors/reds
maroon brick sunset
print p-reds
colors/reds/"bright"


  TOC < Back Next > REBOL.com - WIP Wiki Feedback Admin