> On Jan 21, 2015, at 9:54 AM, Ken Ray <[email protected]> wrote: > > I use a similar inline "switch": > > put stsSwitch(the platform,"MacOS=Finder","Win32=Explorer","*=Desktop") > into tReference
One line can accomplish that even without invoking a custom function: put item itemOffset( the platform, "MacOS,Win32" ) + 1 of "Desktop,Finder,Explorer" into tReference -- Dick _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
