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
13
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
13
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
21
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
22
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-11-25 09:37:24
Your offset time is: 2024-11-25 09:37:24