Affann Posted June 9, 2019 Share Posted June 9, 2019 rCount2 = gg.getResultCount() test = rCount2 - 2 gg.toast(test) for i, v in ipairs(gg.getResults(1, test)) do v.freeze = true v.value = 0.0 end Can someone please explain or fix? The arithmetic is ok I checked with toast but the second last value does not edit and freeze Link to comment Share on other sites More sharing options...
Administrators Enyby Posted June 10, 2019 Administrators Share Posted June 10, 2019 Because you only edit value in table. You need add values to saved list for freeze work. Read API help for examples. Link to comment Share on other sites More sharing options...
Question
Affann
rCount2 = gg.getResultCount()
test = rCount2 - 2
gg.toast(test)
for i, v in ipairs(gg.getResults(1, test)) do
v.freeze = true
v.value = 0.0
end
Can someone please explain or fix? The arithmetic is ok I checked with toast but the second last value does not edit and freeze
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.