Home › Forums › General › Programming › why is this method looping through several times? › Reply To: why is this method looping through several times?
April 29, 2018 at 7:48 pm
#83708
does the same thing with:
for i,v in ipairs ((_G[ "tbl_keyassgn"..keyselct ]),1) do
local param = tbl_keyParam
param:setModulatorValue(v,false,false,false)
end
so it seems to be forcing the previous functions to run for each
time it needs the ‘keyselct’ variable. something like that.
i’m ok with skipping the function calls and putting the code back
in there instead. but i don’t know if it will fix it as it is.