local g = gg
local ls = {'test1','test2'}
local val = {"10;0;0;1::","20;0;0;2::"}
local c = g.multiChoice(ls,{false,false},'prova')
if c==nil then
print('Canceled')
os.exit()
end
for i=1, #ls do
if c[i] then
s = val[i]
g.searchNumber(s,4)
print(s)
end
end
hi, the problem is that script performs only first search, but if i comment the line with searchNumber() script works as expected and displays both values. can you help me understand where i am wrong please? the purpose is to carry out the searches set in the table val if they are selected.
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.
Question
MarioRossi93i
hi, the problem is that script performs only first search, but if i comment the line with searchNumber() script works as expected and displays both values. can you help me understand where i am wrong please? the purpose is to carry out the searches set in the table val if they are selected.
Thank you all
10 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now