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 / Any bugs in the Array commands?

Author
Message
Easily Confused
22
Years of Service
User Offline
Joined: 22nd Oct 2002
Location: U.K. Earth. (turn right at Venus)
Posted: 12th Jan 2003 20:48
I can't remember if anything like this has already been posted by somebody before, so I apologise for repeating it here, but, are there known problems with any of the Array commands?

In particular Array Delete Element and Array Insert At Element
Programming anything is an art, and you can't rush art.
Unless your name is Bob Ross, then you can do it in thirty minutes.
Easily Confused
22
Years of Service
User Offline
Joined: 22nd Oct 2002
Location: U.K. Earth. (turn right at Venus)
Posted: 12th Jan 2003 20:54
The following crashes on me:



Programming anything is an art, and you can't rush art.
Unless your name is Bob Ross, then you can do it in thirty minutes.
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 13th Jan 2003 00:35
Doesn't crash on me, but every index from 4 onwards has the number 4 on it...

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 13th Jan 2003 00:37
So you get

Item 0
Item 1
Item 2
Inserted Item
Item 4
Item 4
Item 4
Item 4
Item 4
etc etc

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
Easily Confused
22
Years of Service
User Offline
Joined: 22nd Oct 2002
Location: U.K. Earth. (turn right at Venus)
Posted: 13th Jan 2003 00:42
Hmmm, so there are bugs crawling around in there. Oh well that's another e-mail to Lee.

Programming anything is an art, and you can't rush art.
Unless your name is Bob Ross, then you can do it in thirty minutes.
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 13th Jan 2003 11:00
Certainly sounds like it...

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 13th Jan 2003 14:13
I've already reported the insert at element bug, but I haven't had a problem with the delete element command.

I haven't got around to testing the rest myself yet.

Login to post a reply

Server time is: 2025-05-17 01:02:42
Your offset time is: 2025-05-17 01:02:42