Board Thread:Support Requests - Getting Technical/@comment-3387692-20130103043303/@comment-4674838-20130103065952

Rappy 4187 wrote: Mathmagician wrote:

Do you mean this? Thanks Rappy, doubling up on 2 parameters having the same output is definitely a good idea. The other points are also good, I just didn't mention them specifically in the context of #switch as I would tend solve those using other methods
 * 1) I prefer the syntax of just putting the default on the last line and escaping = with = in the rare case that it's an issue.
 * 2) I would detect if the parameter is defined with #if prior to #switch, rather than using "unset" as a sentinel value.