I am a fan of the Combo Box for situations when I have a set of not-so-human-readable strings I would like to map to their human-readable counterparts in a clean and extensible fashion. So far, so good. Often, however, those illegible strings are also format strings which I often use in combination with Format Into String as below.
The problem, however, is when the different commands use different numbers of inputs. It is no problem to always wire input 1 and input 2, it is usually obvious from context, or through visibility controls which ones correspond to different commands. The problem however is that when I only use one format specifier in the format string the Format Into String function throws an error and returns an empty string. Too many specifiers is one thing, but in my opinion, too few should not be an error. A warning, maybe, but I'd ignore that anyway. Or, if an error must be thrown, at least return the result with the subset of inputs used.
One workaround is to use a case structure to sort by the number of parameters to wire. Not horrible, but the cases are based on the not-so-readable strings.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.