From: | Me |
Date: | 16 Apr 2001 at 03:57:13 |
Subject: | Re: Invalid Symbol ? |
Hello Andreas
On 16-Abr-01, you wrote:
> So, how would you do that:
>
> IF msg.34 = "MSG.34" THEN /* if the var is empty */
> DO
> posi = Find(msg.12,"X-Newsreader:")
> IF posi >0 THEN
> PARSE VAR msg.12 . "X-Newsreader:" xreader '0a'×
> .
> IF posi = 0 THEN Find(msg.12,"X-Mailer:")
> IF posi >0 THEN
> PARSE VAR msg.12 . "X-Mailer:" xreader '0a'× .
> ELSE
> xreader = ""
> END
> ELSE
> xreader = msg.34
>
> msg.34 gets 'filled' by an external library call. Or it does not get
> 'filled', if the field is not defined. Then it stays just empty. No
> problem so far. But the exception happens at the IF msg.34 =
> "MSG.34"
> line.
>
> This is why I tried to eValue()ate the variable, since I can not do
> IF "msg.34" = "MSG.34" THEN ...
Even not quite getting your problem, as I said in my previous message,
I'd say that this could work:
If msg.34 = value('msg.34').
Try it and let me know if it worked :)
Regards,
GMaia
------------------------ Yahoo! Groups Sponsor ---------------------~-~>
Secure your servers with 128-bit SSL encryption!
Grab your copy of VeriSign's FREE Guide,
"Securing Your Web site for Business." Get it now!
http://us.click.yahoo.com/KVNB7A/e.WCAA/bT0EAA/stAVlB/TM
---------------------------------------------------------------------_->
ARexx mailing list - No flames, no overquoting, no crossposting.
Unsubscribe: Blank mail to mailto:arexx-unsubscribe@onelist.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/