On 12/20/04 5:04 AM, "Ben Rubinstein" <[EMAIL PROTECTED]> wrote:

> Personally I most often use backtick (don't know if this will come out in
> email), and then do a replace:
> 
>     get "`C:\Ba\Ba.exe` `-E` `%1`"
>     replace "`" with quote in it

Personally, I think SuperCard had the right idea related to backticks; they
were automatically replaced with quotes using merge(). The Rev version of
merge doesn't do that, unfortunately, so you could do:

  put merge("`C:\Ba\Ba.exe` `-E` `%1`") into myVar

and with the advantage over format() that merge() allows for variables to be
included in double brackets [[ ]], it makes even better:

  put "C:\Ba\Ba.exe" into tPath
  put merge("`[[tPath]]` `-E` `%1`") into myVar

I've already logged this as an enhancement request (
http://support.runrev.com/bugdatabase/show_bug.cgi?id=1378); anyone want to
vote?

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]


_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to