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.

Newcomers DBPro Corner / multi-dimesional arrays

Author
Message
Moglor
20
Years of Service
User Offline
Joined: 30th Sep 2003
Location:
Posted: 30th Sep 2003 16:29
hi, im new to dark basic but i have some experience using visual basic. does dark basic support multi-dimensional arrays? i.e.: SomeArray(X,Y) and how would you declair one?

in visual basic you declair one like this:

Dim SomeArray(0 to 10, 0 to 100) as Integer
Kentaree
21
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 30th Sep 2003 17:10
Yes DarkBASIC supports multidimensional arrays. You can declare it with

dim someArray(1,2)

Cheers,
Kentaree

I would be unstoppable if I could just get started...
Moglor
20
Years of Service
User Offline
Joined: 30th Sep 2003
Location:
Posted: 30th Sep 2003 17:26
thanks

Login to post a reply

Server time is: 2024-09-21 01:04:23
Your offset time is: 2024-09-21 01:04:23