Jump to content
  • 0

Can you clear specific results?


Squidoodle04

Question

Posted

Is it possible to clear only the second or third value so for example if you get 4 values but you only need value 2 and 3 and you want to clear 1 and 4

 

2 answers to this question

Recommended Posts

  • Administrators
Posted

Yes. load 4 values to table, set 2 and 3 index to nil, pass table to removeResults. Something like this:

local t = gg.getResults(4)
t[2] = nil
t[3] = nil
gg.removeResults(t)

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.