From: | Andreas Mixich |
Date: | 21 Aug 2000 at 15:18:19 |
Subject: | Re: Unbalanced parentheses (not!) |
Hello Rolf
On 21-Aug-00 Rolf Max Rotvel wrote:
RR> Hi Andreas Mixich. You wrote:
RR>
RR>> decoder = "CALL '"||'rexx:Converter/'||intype||'.decode'''
RR>> '("'||infile||'","'||tmpdir||'")'
RR>> say decoder
RR>> INTERPRET decoder
RR>>
RR>> which result in
RR>> Error: 42 Unbalanced parentheses
RR>
RR> Interesting problem. I don't know why it doesn't work. I tried like
RR> this:
RR>
RR> decoder = 'call "rexx:Converter/'intype'.decode" ("'infile'",
RR> "'tmpdir'")'
RR>
RR> and got the same error. But then I tried removing the comma - and now
RR> it worked?!?
Comma ? Where di you find one ? :-)
YAM broke the pasted text. It is one line on the source.
RR> My suggestion is skipping the braces:
RR>
RR> decoder = 'call "rexx:Converter/'intype'.decode" "'infile'" "'tmpdir'"'
RR>
RR> and use something like
RR>
RR> parse value arg(1) with '"'infile'"' '"'tmpdir'"'
RR>
RR> in your .decode scripts.
The problem is, that the function, which gets called is an external script.
But I have to pass arguments to it. Hmmm.....you mean I should leave the
braces out ? Will this work ? I have to test. Thanks.
ARexx mailing list - No flames, no overquoting, no crossposting. Unsubscribe: Blank mail to mailto:arexx-unsubscribe@onelist.com