#Txed Plus macros
4 messages in this thread
I've done a TRACE with every option available. It indicates that the
command is getting through fine (e.g. CH 2 "text1" "text2"), but returns
with an error code of 20 (syntax error). I'm using double-quotes as
required, and they appear during tracing. Like I said before, the strange
thing is that the exact same command works fine from the command line (but
not from within the macro). BTW, I've re-written the command several times
(in several versions), just to make sure no hidden control-codes are
responsible. Come across this problem before? —Glenn. P.S. Thanks for
your last reply.
Just tried that here, with V2.2. without any problem. Here is the line I
used for test, inside the macro:
'CHange 2 "abc" "def"'
Okay, I've figured out what was going wrong: I wasn't enclosing the whole
command in single quotes. There's nothinbg in the manual about this (at
least that I can find), and the other commands don't require this. Has it
to do with the fact that the command involves multiple arguments? Anyway,
thanks for the assist. Great product — has proven very useful. –Glenn
The single quotes are for AREXX – otherwise AREXX will strip the double
quotes in it's parsing. By enclosing the entire line in single quotes you
tell AREXX to leave what's inside the single quotes alone.
…cheath