[REBOL] Re: What is wrong with this?
From: gscottjones:mchsi at: 11-Apr-2003 14:52
From: "Raimond"
> > I just read the "Rebol and the Shell" tutorial and tried out the
> > following
> > (called args.r):
> >
> > REBOL []
> >
> > foreach item [
> > system/user/home
> > system/script/path
> > system/options/path
> > system/script/args
> > ][
> > print [item "==" mold item]
> > ]
...
From: "Anton"
> Path evaluation changed in recent rebol versions.
> Try:
>
> print [item "==" do reduce [item]]
Hi, Raimond,
Just to expand a bit on what Anton said, refer to:
http://www.reboltech.com/downloads/changes.html#sect5.2.
Another way is:
foreach item [
system/user/home
system/script/path
system/options/path
system/script/args
][
print [item "==" do mold item]
]
--Scott Jones