MMTMMT Docs
Diagnostics

T016

duplicate input key

T016

Two input rows resolve to the same key. The key (explicit key:, otherwise the binding name) is the input's identity for saved settings and overrides, so a second row with the same key can never be addressed. Give each input a distinct key.

Failing example

script "example"
input (
  fast = input.int(9, title: "Fast", key: "len")
  slow = input.int(21, title: "Slow", key: "len")
)

Corrected example

script "fixed"
input (
  fast = input.int(9, title: "Fast", key: "fastLen")
  slow = input.int(21, title: "Slow", key: "slowLen")
)

On this page