[REBOL] printing debug info
From: patrick::philipot::laposte::net at: 28-Jan-2003 10:39
Hi List
As many of us I suppose, I am used to put a lot of 'print in my code for debugging purpose.
The problem is how to get rid of them easily and without removing wanted 'print.
One way I have found goes like this:
debug-print: :print
a: ["This is a test" 1 28-01-2003]
debug-print [a]
And when I want to get rid of these prints, I use the following
debug-print: :comment
I am wondering if there are better ways and if PREBOL could help here?
Regards
Patrick