- 0
help searchNumber in for loop
-
Similar Content
-
- 8 answers
- 2,633 views
-
- 2 replies
- 2,231 views
-
HELP The Wolf
By JKRC,
- 0 replies
- 778 views
-
- 0 replies
- 248 views
-
Please Help
By X-Line,
- 11 answers
- 4,827 views
-

Question
MarioRossi93i
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 endhi, 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