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 Classic Chat / [SOLVED] Two dimensions for dynamics arrays.

Author
Message
Hubert BAYRE
7
Years of Service
User Offline
Joined: 21st Oct 2017
Location: France
Posted: 13th Jul 2019 08:29
Hello.
Is there a method to declare and use two dimensions dynamical arrays ?

Global MyArray[][]

???

Many Thanks.

The author of this post has marked a post as an answer.

Go to answer

blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 13th Jul 2019 08:53
Hubert BAYRE
7
Years of Service
User Offline
Joined: 21st Oct 2017
Location: France
Posted: 13th Jul 2019 09:04


Should be interesting. How to manage this ? (use x and y)

Global MyArray as MyTypeA ... and next ?

blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 13th Jul 2019 09:15 Edited at: 13th Jul 2019 09:35
This post has been marked by the post author as the answer.
So assuming you want mytypeA to be multidimensional



To populate the array

Hubert BAYRE
7
Years of Service
User Offline
Joined: 21st Oct 2017
Location: France
Posted: 13th Jul 2019 11:01
Very interesting. Thanks blink0k

Login to post a reply

Server time is: 2024-11-22 21:33:20
Your offset time is: 2024-11-22 21:33:20