Reply To: why is this method looping through several times?

Home Forums General Programming why is this method looping through several times? Reply To: why is this method looping through several times?

#83708
human fly
Participant
  • Topics: 124
  • Replies: 1070
  • Total: 1194
  • ★★★★

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.

Ctrlr