Neat Trick!

Ken Ray kray at sonsothunder.com
Fri Mar 9 11:47:33 EST 2007


On Fri, 9 Mar 2007 15:36:04 +0000, Dave wrote:

> Hi All,
> 
> I was trying to make a Generic Menubar Stack, but had the old problem 
> that the text changes depending on the name of the application, e.g. 
> "About thisApp",  "About thatApp", ""About theOtherApp". Anyway, I 
> tried the following code and it worked! I hadn't realized before that 
> a parameter to a "case" clause can be a variable, which really makes 
> it a lot more powerful.

Sweet! Thanks for sharing, Dave!

Ken Ray
Sons of Thunder Software, Inc.
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/



More information about the use-livecode mailing list