[REBOL] Re: Problem with paren
From: sunandadh:aol at: 2-Feb-2003 6:22
Patrick
> Actually, after playing a bit with 'parse, I prefer the simpler 'load
> solution.
Just be aware that Do'ing untrusted strings can be dangerous. If the string
comes from an untrusted source (typed by a user say), take some extra
precautions.
Example -- try this:
values: [ rebol [quit]]
test: copy ""
foreach v values [
either string! = type? v [
append test v
append test " "
][
append test to-string v
append test " "
]
]
foo: load trim test
do foo ; == exits the console
Sunanda