- 0
help searchNumber in for loop
-
Similar Content
-
Please Help
By X-Line,
- 11 answers
- 5,064 views
-
Need help
By james121088,
- 2 replies
- 649 views
-
- 2 replies
- 2,354 views
-
HELP The Wolf
By JKRC,
- 0 replies
- 950 views
-
- 0 replies
- 436 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