[REBOL] Re: string to object - was: Ask
From: greggirwin:starband at: 28-Sep-2001 1:42
<< I do have a *cure*:
get-path-obj: func [str [string!]][
tmp-val: parse copy str "/"
for i 1 ((length? tmp-val) - 1) 1[
append return-val [ get in ]
append return-val [ get ]
foreach val tmp-val[
append return-val compose [ to-word (:val)]
return do compose return-val
*You* are my new best friend! I'm going to play with this some more but it
looks like it'll do what I want, in which case I hope the reason I want it
turns into something useful. :)
THANK YOU! THANK YOU! THANK YOU!