It looks like you're new here. If you want to get involved, click one of these buttons!
In an inline table, if you set variables in any of the options, the settings in later options overwrite settings in earlier options, no matter which option is chosen. This created some unexpected results until I realized what was going on.
In the example below, the variable s always acquires the value "second", even if the first option is chosen.
The workaround is to avoid inline tables when you'll be setting variables. If you turn the inline tables above into regular tables, the variable s winds up as either "first" or "second" according to the chosen table entry.
Is this an intended feature, or a bug? Apparently, IPP runs every option in an inline table, including variable assignments, before it picks one of the options. In a regular table, it runs only the chosen option.