setRegistry...
Ken Ray
kray at sonsothunder.com
Mon Dec 20 10:50:20 EST 2004
On 12/20/04 5:04 AM, "Ben Rubinstein" <benr_mc at cogapp.com> 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: kray at sonsothunder.com
More information about the use-livecode
mailing list