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.

DarkBASIC Professional Discussion / Multi Dim Arrays and Lists Question

Author
Message
Code Yellow
22
Years of Service
User Offline
Joined: 10th Nov 2003
Location:
Posted: 10th Nov 2003 13:04
Dose anyone know if Stacks, Queues, and Lists can be applied to a multi-dimensional array in such a way that one dimension is affected but not the others.

Or even better:

Dose anyone know of a way, even a complicated one, of making an array of arrays. Like:
dim array1(10) as integer
dim array2(6) as array1



Thanks.
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 10th Nov 2003 13:34
Are you talking about 'ragged' arrays here?

If you are, then no it's not possible - DBPro doesn't support them.

If you are not, then it may be possible to affect one of the array dimension sizes by using the ARRAY INSERT * commands with an appropriate number. I don't actually know which dimension that would affect, but I would guess the first.

Login to post a reply

Server time is: 2026-07-26 15:29:39
Your offset time is: 2026-07-26 15:29:39