<<
You can already do that with the Load_From_File method of the Variable Rich 
Text, but that is _after_ the procedure is completed, unless you are suggesting 
the lines are added during the process.
>>


Yes, I'm suggesting a SET CONSOLE <ComponentName> command that would treat the 
specified component exactly like the R> prompt (which after all is just a TMemo 
internally, I think).  The output would appear in real time as issued by the 
engine, not after the entire process finished.

For instance:

SET CONSOLE mMyMemo
-- Output of following commands goes to component mMyMemo and NOT to the R> 
prompt (or maybe to both?)
-- It would appear as lines are ready, not at the end of each command.
WRITE 'Woo Hoo, this is in my Memo!'
SELECT * FROM MyTable
SHOW VAR
-- Output will now go to the R> prompt
SET CONSOLE R>
-- Or SET CONSOLE OFF
WRITE 'Back at the R> Prompt'

Great way to have a custom interface, and capture the output of R:Base commands.
--
Larry

Reply via email to