CompuServe Thread

#Txed Plus macros

4 messages in this thread
#15591From: glenn nosworthyMar 2, 1990 11:18 PM
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.
#15593From: microsmithsMar 3, 1990 12:13 AM
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"'
#15654From: glenn nosworthyMar 5, 1990 11:52 PM
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
#15660From: microsmithsMar 6, 1990 1:41 PM
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