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

[REBOL] Re: Curious 'rejoin behavior

From: carl:rebol at: 31-May-2001 0:55

Sounds like the list got you what you needed. I wanted to add one other remark... I often use tags in my scripts that build things like the REBOL.com site and docs. One technique that I've found helpful is to use the natural block combining features of REBOL. If you look at a few of my scripts, you'll find a function called: emit: func [blk] [repend html blk] with html: make string! 10000 or some such. Note that there is an implied conversion happening here. That is a very nice benefit of insert, which is under the covers of append. Then, emit [<tag> value </tag>] produces a useful result. emit [<B> "So it works well..." </B> now/date <P>] Since this simplicity has evolved over many years of using REBOL, thought that I should pass it along. Best of coding to you, -Carl