TO-PATH

REBOL Dictionary 2.0


Summary:

Converts to path value.

Usage:

to-path value

Arguments:

value - Value to convert

Description:

Converts other values to PATH.


    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"

Related:

to - Constructs and returns a new value after conversion.


<Back | Index | Next>

Copyright 2003 REBOL Technologies