--- In [EMAIL PROTECTED], Alex Peters <[EMAIL PROTECTED]> wrote:
> --- I wrote:
>
> > Local Thingy = "12345678"
> > MessageBox("Asterisk", "C:\\&(Thingy)")
>
> Shouldn't the double backslash amount to a single backslash in the
> final output, while having no effect on the &() syntax that follows
> it?
>
&() is not something I am recommending or supporting, but here is
how I think it works
First, pre-process text of statement to remove &(). In this case,
the \ is taken as escaping the &, so the statement that PowerPro
experssion processor sees is
MessageBox ("asterisk", "C:\&(Thingy))
which is then processed; there is no more & processing and the
\escapes the & within the " to yield the results you see.
&() processing is a separate, pre-processing step which is applied
to the text of a statement before the expression processor even sees
that text. Its confusing, which is why [you know what...]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/JV_rlB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/power-pro/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/