John Krussel writes:
> I'm using the "ANYPARM" parameter to pick up a long string in a command
> file. The string may or may not have embedded quotes in it, they maybe
> single quotes or double quotes.
There's a relatively new function called anyparm() that seems to do the
trick. For example:
:print gctest
anyparm myparm
setvar myvar anyparm(!myparm)
echo !myvar
:
:gctest 'abc"def
'abc"def
:
In your original example (snipped), you should be able to use
anyparm(!P2) in place of "!P2" -- note the *absence* of quotes
with anyparm().
For details, see Jazz:
http://jazz.external.hp.com/papers/Communicator/5.5/mpejxq1.html#EVAL
--Glenn Cole
Software al dente, Inc.
[log in to unmask]
.......................................................................
Item Subject: cc:Mail Text