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.

AppGameKit Classic Chat / Array access

Digital Awakening
AGK Developer
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 1st Feb 2011 20:17
Here's a vote for [] as they make arrays stand out better, and it is common practice among all other languages I have ever used. I think for readability and clarity it is important to separate the look of function calls and arrays.

It's going to be easier on all users except those who only code in DBP. It will also make the step to C++ and Tier 2 easier (just like many other changes talked about on this board). If you take code made for Tier 1 to Tier 2 then this would also make that job worse.

Bored of the Rings
User Banned
Posted: 5th Feb 2011 15:21
square bracket....round brackets.... who cares!
Years of Service
User Offline
Joined: 22nd Mar 2005
Location: United Kingdom
Posted: 7th Feb 2011 12:58
I'll vote square brackets, but I wouldn't be bothered too much if it stayed with curved ones.

Years of Service
User Offline
Joined: 29th Mar 2006
Location: Reno Nevada
Posted: 17th Feb 2011 01:15
Square Brackets FTW, especially if function calls receive the () Brackets.
TGC Lead Developer
Years of Service
User Offline
Joined: 21st Jan 2000
Location: England
Posted: 15th Mar 2011 01:05
Having done all the important compiler stuff, I am just about to get stuck into changing the compiler to accept square brackets for arrays It will be a tearful day of development, but I think we are right here and there are many more reasons to use square brackets in this case. Welcome to the agk[42].future!

I drink tea, and in my spare time I write software.

Login to post a reply

Server time is: 2023-09-29 10:37:04
Your offset time is: 2023-09-29 10:37:04