seeing weird behavior in the setMin() and setMax() calls (unless I coded it wrong)
This code produces the following output. Note that the names are showing up correctly.
r0MinMax = {462,561, 506,518, 496,527, 385,638, 497,527, 488,537, 384,639, 512,513, 493,531, 491,532, 496,528}
function configCtl(name, control, ofst)
local aCtl = controls.get(control)
local aVal = aCtl:getValue("value")
aCtl:setName(name)
print(string.format("inside configCtl (ofst is %d): current min,max = %d, %d", ofst, aVal:getMin(), aVal:getMax()))
print(string.format("new vals = %d,%d", r0MinMax[ofst], r0MinMax[ofst+1]))
aVal:setMin(r0MinMax[ofst])
aVal:setMax(r0MinMax[ofst+1])
print(string.format("after set: current min,max = %d, %d", aVal:getMin(), aVal:getMax()))
end
17:05:13.322 lua: inside configCtl (ofst is 1): current min,max = 462, 561
17:05:13.322 lua: new vals = 462,561
17:05:13.323 lua: after set: current min,max = 206, 49