ARexx (43/55)

From:Andreas Mixich
Date:27 May 2000 at 02:57:59
Subject:(unknown)

Hello,

I wrote a ARexx test script for GoldED.
Now I added several options of tracing, which I can check in a menu.

Mainly it looks like this:

SELECT
WHEN test = TRUE THEN
DO
'REQUEST STRING TITLE = "Testing..." BODY = "Please enter arguments empty string if none are needed" VAR ARGUM'
IF RC = 5 THEN
SIGNAL CLEANUP
'SAVE ALL EXPORT NAME "t:'||filename||'"'
CALL backupon
com = Strip('t:'||filename||' '||argum)
ADDRESS COMMAND 'sys:rexxc/tco'
IF arexx_make_isfunc = TRUE THEN
DO
CALL Trace(tracemode)
CALL com
END
ELSE
DO
CALL Trace(tracemode)
ADDRESS COMMAND 'rx '||com
END
END

Now the problem is: The tracing will only cover the GoldED Macro itself, not
the script it executes. AS you see, I added ADDRESS COMMAND TCO and even
expanded it with ADDRESS COMMAND TS, but no luck.
How can I control the tracing of the script I execute ?
As soon as I use any of the global trace functions it gets
interactive/intermediates, and I can not use Trace(!R) or any of these.



Good Bye, Andreas

------------------------------------------------------------------------
Failed tests, classes skipped, forgotten locker combinations.
Remember the good 'ol days
http://click.egroups.com/1/4053/8/_/50156/_/959408999/
------------------------------------------------------------------------

ARexx mailing list - No flames, no overquoting, no crossposting. Unsubscribe: Blank mail to mailto:arexx-unsubscribe@onelist.com