Function: options()
options(
name,def,labels):i32
Declare an enumerated (dropdown) input. labels are the option names the
UI shows; the strategy works in option indices. Returns the selected index
(clamped to the option range), or def. Call at module top level.
Parameters
name
string
def
i32
labels
string[]
Returns
i32