> Le 21 janv. 2015 à 18:54, Ken Ray <k...@sonsothunder.com> a écrit :
> 
> easier/shorter then:
> 
>    switch (the platform)
>        case "MacOS"
>            put "Finder" into tReference
>            break
>        case "Win32"
>            put "Explorer" into tReference
>            break
>        default
>            put "Desktop" into tReference
>            break
>    end switch

Easier (clear) / shorter :

   switch (the platform)
       case “MacOS” ;  put "Finder" into tReference ; break
       case “Win32” ;  put "Explorer" into tReference ; break
       default ; put "Desktop" into tReference ; break
   end switch

;-)
René


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to