Seems that it already understands quoted strings to some degree...

>> a: [aa [aaa 1 bbb 2] "bb" [ccc 1 ddd 2] ]
== [aa [aaa 1 bbb 2] "bb" [ccc 1 ddd 2]]
>> p: to-path [a "bb"]
== a/"bb"
>> p
== [ccc 1 ddd 2]

--Ryan


Andrew Martin wrote:

> Normal path! datatypes look like this:
>         word/sub-word/sub-sub-word
>     Currently Rebol doesn't understand strings in a path. I'm proposing that
> Rebol should return things using a string as a path. For example:
>
> block: [
>     "A string with spaces" [
>         Test [
>             Item 99
>             ]
>         ]
>     ]
>
> To refer to "99" it would be nice if Rebol understood the following as a
> path:
>         block/"A string with spaces"/Test/Item
>     and for convenience the following format:
>         /"block/A string with spaces/Test/Item"
>     Both of the above will return "99. The last format is based on Rebol's
> format for long filenames with embedded spaces, like:
>         %"Directory/Sub-Directory/My File.txt"
>
> Opinions? Problems?
>
> Andrew Martin
> ICQ: 26227169 http://members.nbci.com/AndrewMartin/
> -><-
>
> --
> To unsubscribe from this list, please send an email to
> [EMAIL PROTECTED] with "unsubscribe" in the
> subject, without the quotes.

--


     Ryan Cole
 Programmer Analyst
 www.iesco-dms.com
    707-468-5400

"I am enough of an artist to draw freely upon my imagination.
Imagination is more important than knowledge. Knowledge is
limited. Imagination encircles the world." -Einstein


-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to