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

[REBOL] Re: Calling local functions from parse rules...

From: carl:cybercraft at: 30-Mar-2002 2:00

On 29-Mar-02, pat665 wrote:
> Hi Carl > I am not a 'bind guru, however the following seems to work. > parse-this: func [blk rules /local str local-func value][ > str: copy "" > local-func: func [n][append str n] > parse blk bind rules 'str > print str > ] > Patrick
Thanks Patrick - that did the trick. With my previous attempts I'd been giving rules to bind as a lit-word instead of just as a word. I know better now... -- Carl Read