Hi guys,

With standard configuration in use, the backslash acts as an escape
character.

Please consider the following example:

Local Thingy = "12345678"
MessageBox("Asterisk", "C:\\ &(Thingy)")

Because the backslash is doubled, it should be converted to a single
backslash and then the contents of the Thingy variable should be
substituted into the string.

However, running the above code yields this response:
C:&(Thingy)

...as if I had invoked 'MessageBox("Asterisk", "C:\&(Thingy)")' (note
the single backslash).

If however a space is added between the \\ and the &, then everything
works as expected:

C:\ 12345678

And before anyone cares to waste their time letting me know that this
is bad syntax and that I should be using this:

MessageBox("Asterisk", "C:\\" ++ Thingy)

...I'm well aware of this and you need not bother. *thumbs up*

-- 

Alex Peters / Melbourne, Australia
PowerPro v3.8.16 / Windows XP



------------------------ 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/
 

Reply via email to