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 / Compiler error AGK 2 Beta 6

Author
Message
idstam
12
Years of Service
User Offline
Joined: 4th Oct 2011
Location: Upplands Väsby / Sweden
Posted: 19th Sep 2014 07:55
This code fails with a: main.agc:28: error: Cannot convert type "move" to "animal"

If I remove the Animal type it compiles and if I add another type it complains about that one instead.


Impetus73
12
Years of Service
User Offline
Joined: 28th Aug 2011
Location: Volda, Norway
Posted: 19th Sep 2014 08:17 Edited at: 19th Sep 2014 08:19
delete me

----------------
AGK programmer
Did Amiga / AMOS programming in the 90's.
ifman1
20
Years of Service
User Offline
Joined: 3rd Jul 2003
Location:
Posted: 19th Sep 2014 16:31
I got the same error, just created a similar post. Did you ever get any resolution to this?

Other than "delete me"?

....bouncy, bouncy, bouncy, bouncy, bouncy....
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 19th Sep 2014 17:49
Quote: "This code fails with a: main.agc:28: error: Cannot convert type "move" to "animal""


Good find, I'll fix this for the next version. If you want to try and work around it then the Type you want to pass as an array must be the first type alphabetically.

Login to post a reply

Server time is: 2024-04-25 17:00:13
Your offset time is: 2024-04-25 17:00:13