Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Problem with paren

From: sunandadh:aol at: 2-Feb-2003 6:22

> 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