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 / Stupid array is stupid

Author
Message
TheComet
18
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 11th Aug 2012 15:52
This is more or less a small rant.

Why does the following even compile and run? It makes no sense to me and has wasted a few hours of my time!



Is this intended? There's no way any other language would allow that.

TheComet

Your mod has been erased by a signature, please reduce him [overall] to no larger than 120 kg please.
basjak
16
Years of Service
User Offline
Joined: 16th Apr 2010
Location: feel like signing up for mars
Posted: 11th Aug 2012 16:05
but it prints 0. that's all.

Sergey K
22
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 11th Aug 2012 16:06
i told you.
never use those Multi array
use my way! there is always a way with single type array..

Advanced Updater for your games!
basjak
16
Years of Service
User Offline
Joined: 16th Apr 2010
Location: feel like signing up for mars
Posted: 11th Aug 2012 16:09
I use multi arrays. never had a problem

Pincho Paxton
23
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 11th Aug 2012 16:30
It should warn you, but I've never made that mistake.

Phaelax
DBPro Master
23
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 11th Aug 2012 21:22
Read this:
http://forum.thegamecreators.com/?m=forum_view&t=186291&b=15

"You're not going crazy. You're going sane in a crazy world!" ~Tick

Login to post a reply

Server time is: 2026-07-23 02:36:25
Your offset time is: 2026-07-23 02:36:25