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 / Mixing array definitions

Author
Message
DavidAGK
AGK Developer
10
Years of Service
User Offline
Joined: 1st Jan 2014
Location:
Posted: 30th Dec 2017 12:25
As we all know, declaring Arrays in Version 2 change a while back. I seem unable to declare arrays using the new method in my game. I've got older style declarations in there so wondering if they don't like to be mixed.

Currently...
Dim Array[1] As ArrayType
Works fine

Whereas...
Array As ArrayType
Does not work, when it should as far as I can see - all types are properly defined?!?!

Any clues? Seems odd...
Using Tier 1 AppGameKit V2
Started coding with AMOS (Thanks Francois Lionet)
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 30th Dec 2017 12:35
DavidAGK
AGK Developer
10
Years of Service
User Offline
Joined: 1st Jan 2014
Location:
Posted: 30th Dec 2017 12:59
Wow, that's embarrassing! Ha ha ha!

I read the manual which gives an examples as follows:



So figured I was doing it right?!
Using Tier 1 AppGameKit V2
Started coding with AMOS (Thanks Francois Lionet)

Login to post a reply

Server time is: 2024-11-24 03:25:51
Your offset time is: 2024-11-24 03:25:51