On 12/19/04 10:23 PM, "MisterX" <[EMAIL PROTECTED]> wrote:
> if you want the quotes you have to include them in the string
>
> like this:
>
> setRegistry(
> "HKEY_CLASSES_ROOT\BioArchimed\shell\open\command\",
> quote & "C:\Ba\Ba.exe" & quote && quote & "-E"& quote && quote & "%1""e
> )
That's why I like the q() function, it makes it so much easier (I use it so
much, it's in my "standard library"):
setRegistry("HKEY_CLASSES_ROOT\BioArchimed\shell\open\command\",
q("C:\Ba\Ba.exe") && q("-E") && q("%1"))
function q pWhat
return quote & pWhat & quote
end q
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