Home AMX User Forum AMX General Discussion

Array size limit for button events?

I don't often use large arrays for channel numbers for button events, but I need to use one at the moment that has channels from 2301 to 2601. So I have an array of 300 integers, 2301 through 2601. But what I am finding is that the button event runs only if the channel is from the first 137th integers. Any button hit with a channel number above that doesn't run the button event. So if you hit button 2438 on a touch panel, which is in the array, the button event doesn't run. All buttons up to 2437 work, but nothing after. I've never seen this before, so it looks like its a limit. I am testing this on an iPad and the buttons are in subpages, if that's makes a difference. Very odd. I would have thought you could have an array of 4000 integers and it would work fine, but perhaps not. The most integers I've had in an array for button events was a few dozen.
Paul

Comments

Sign In or Register to comment.