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.

Author
Message
Blendman
10
Years of Service
User Offline
Joined: 17th Feb 2014
Location: Arkeos
Posted: 5th Jun 2014 10:46
Hi

I have an array bug. Sometimes it crash the application when exit (on win8), sometimes I have an error message at line 38, sometimes nothing happens.

I think it could be great to have ALWAYS an error or a message with that kind of error.
Should it be fixed in the v2 ?



http://www.dracaena-studio.com
Digital Awakening
AGK Developer
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 5th Jun 2014 11:42
This one is well known. I hope Paul has fixed this in next alpha since it's a compiler bug. It's the number one likely suspect of random crashes.

JimHawkins
15
Years of Service
User Offline
Joined: 26th Jul 2009
Location: Hull - UK
Posted: 5th Jun 2014 14:17
It would be a good idea to add some Pascal syntax to the compiler:

for x := Low(test) to High(test) do ....

Saves a lot of dangerous literals.

-- Jim - When is there going to be a release?
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 5th Jun 2014 14:45
i believe in v2 we get .length

AGK 108 (B)19 : Windows 8.1 Pro 64 Bit : AMD Radeon R7 265
Digital Awakening
AGK Developer
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 5th Jun 2014 15:40
Quote: "i believe in v2 we get .length"


Yes, already implemented and will come in the next alpha.

Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 5th Jun 2014 17:24
Shouldn't this:

dim test[10]

Be this:

dim test[10] as sType

Naphier
14
Years of Service
User Offline
Joined: 2nd Oct 2010
Location: St Petersburg, Florida
Posted: 7th Jun 2014 06:36
@Phaelax - That's what I was thinking.

Digital Awakening
AGK Developer
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 8th Jun 2014 09:48
Paul has confirmed that this is fixed in alpha 4.

Login to post a reply

Server time is: 2024-11-25 05:44:39
Your offset time is: 2024-11-25 05:44:39