A code style question
René Micout
rene.micout at numericable.com
Sat Jan 24 02:28:03 EST 2015
Thank you Bob !
:-)
René
> Le 23 janv. 2015 à 23:22, Bob Sneidar <bobsneidar at iotecdigital.com> a écrit :
>
> Shorter still:
>
> switch (the platform)
> case “MacOS” ; put "Finder" into tReference ; break
> case “Win32” ; put "Explorer" into tReference ; break
> default ; put "Desktop" into tReference
> end switch
>
> You don’t need a break after default. :-)
>
> Bob S
More information about the use-livecode
mailing list