Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Studio Chat / Multi dimensional arrays not resizing?

Author
Message
BitManip
10
Years of Service
User Offline
Joined: 20th Dec 2013
Location: Essex
Posted: 17th Mar 2019 15:57 Edited at: 17th Mar 2019 16:04
[SOLVED]

Hi All and Thx in advance!

I have a very basic type


However, I want to resize the array tMap[,] and do the following:



However, My code crashes when the array count goes over 20?

Any ideas?
I control all the juicy in here!
BitManip
10
Years of Service
User Offline
Joined: 20th Dec 2013
Location: Essex
Posted: 17th Mar 2019 16:05
Just remembered that each element of the array needs to be resized DOH!

I control all the juicy in here!
puzzler2018
User Banned
Posted: 17th Mar 2019 16:09
Its because you forced it to [20,20]

This works for me




Tier 1 Developer

Login to post a reply

Server time is: 2024-03-29 13:38:07
Your offset time is: 2024-03-29 13:38:07