--- In [email protected], sgp <[EMAIL PROTECTED]> wrote:
>
> The callback parameter of file.runcallback seems to be incorrectly
> evaluated, or am I missing something obvious?
> 
> this script
> 
> local pgm=?"c:\windows\system32\cmd.exe"
> local callback=?'messagebox("ok","runit ran '++pgm++?'")'
> messagebox("ok",callback)
> messagebox("ok",pgm)
> local ret = file.runcallback(100,callback,"cmd.exe")
> 
> produces the following 3 messages - the 3rd one being the seemingly
> incorrect callback output:
> 
> 1. messagebox("ok","runit ran c:\windows\system32\cmd.exe")
> 2. c:\windows\system32\cmd.exe
> 3. runit ran c:?indows?ystem32?md.exe
>
Look more closely at item 1, the command you asked PowerPro to run.  
What will the backslash do?



Reply via email to