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

[REBOL] output redirect to variable

From: nicholas_henry::yahoo::ca at: 29-Dec-2002 19:01

All, Is there a way to save (redirect) output to a word? For example:
>> ;line of code would be place here to redirect the output buffer to the
word "saved-output"
>> print "hello world" >> ;line of code that would be return output to console >> print saved-output
hello world
For those who know ColdFusion -- I am trying to replicate the cfsavecontent tag. Thanks in advance. Nicholas Henry