You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
If button names are not numbers, then the names will be placed in an array.
I don't know if this is the right approach, but it solves the problem
Maybe so, I haven't tried it.
I decided a little differently
I didn't check your last variant, but I suspect that if button index 10 is pressed and then index 9 is pressed, then index 10 won't be pressed because the loop is broken at index 9...