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.

Newcomers AppGameKit Corner / arrays in types doesn't work anymore

Author
Message
schmuck
8
Years of Service
User Offline
Joined: 29th Apr 2016
Location:
Posted: 20th Jun 2017 14:59 Edited at: 20th Jun 2017 15:45
Hi all,

some time ago, I created a small piece of code to test AGK... When I saw the new price under steam, I hesitate to purchase it, so I downloaded a new trial version to compile my old code.
But with the last AppGameKit version, it's no more allow to have an arrays in the type definition

My code was


The result is :



Line 6 is "ENDTYPE"

someone can help me ?

Attachments

Login to view attachments
hendron
8
Years of Service
User Offline
Joined: 20th Dec 2015
Location:
Posted: 21st Jun 2017 23:20
Hi schmuck,

What version of AppGameKit are you on? Your type definition seems to be working fine here, AGK2 v2017.5.15
nz0
AGK Developer
17
Years of Service
User Offline
Joined: 13th Jun 2007
Location: Cheshire,UK
Posted: 22nd Jun 2017 01:05
Everything should be fine there.

try deleting the code and retyping in case there's a weird control char or something messing up the compiler.
Can't comment if the trial version is somehow different, but fine on the regular.
schmuck
8
Years of Service
User Offline
Joined: 29th Apr 2016
Location:
Posted: 22nd Jun 2017 10:43
Thank for your reply,

I'm using the trial version build 107.
schmuck
8
Years of Service
User Offline
Joined: 29th Apr 2016
Location:
Posted: 22nd Jun 2017 10:51
after retyping the file, I have same issue with trial version
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 22nd Jun 2017 18:08
Trial version 107 is for V1 of AGK. You need the V2 trial for arrays inside of types. It also needs to be a more recent version, they weren't there from the start.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt
schmuck
8
Years of Service
User Offline
Joined: 29th Apr 2016
Location:
Posted: 26th Jun 2017 08:58
Ok, thank a lot, I purchased AppGameKit through steam. By this way my issue will be resolved.

Login to post a reply

Server time is: 2024-11-22 15:26:17
Your offset time is: 2024-11-22 15:26:17