Changing the Style of Words in Field And Quotation Marks?
J. Landman Gay
jacque at hyperactivesw.com
Tue May 4 14:00:28 EDT 2010
Jeff Massung wrote:
> I use this "feature" quite often in almost all my Rev apps. On Windows, when
> applications install themselves they update the registry saying how to use
> various types of file extensions. For example:
>
> HKEY_CLASSES_ROOT\QuickTime.mov\shell\open\command
>
> "c:\Program Files\QuickTime\QuickTimePlayer.exe" "%1"
>
> I use word 1 of that registry value to get the path to the executable in a
> way that can also be passed off to the shell function and "just works".
>
> However, some applications don't actually need the quotes (e.g.
> c:\rebol\rebol.exe) and therefore don't add them. And it's quite nice that
> parsing the first "word" still works there, too.
That's a convincing example. Plus, backward compatibility would be shot
if it were changed.
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list