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 / User Defined Type

Years of Service
User Offline
Joined: 29th Jul 2011
Posted: 21st Aug 2011 23:30
Hello all,

Does anyone know if it is possible to return a User Defined Type from a function? I seem to be getting errors. I seem to be able to return an array with a User Defined Type inside it.

Thanks you so much.
Daniel TGC
Retired Moderator
Years of Service
User Offline
Joined: 19th Feb 2007
Location: TGC
Posted: 21st Aug 2011 23:33
Nope, you can't. UTD's need to be declared before any varibles using it, in the main.agc file.
AGK Gold Backer
Years of Service
User Offline
Joined: 13th May 2011
Posted: 22nd Aug 2011 07:04
So you can't do it locally within the function? Is that something that is coming up that could be implemented?

Login to post a reply

Server time is: 2023-09-30 20:39:39
Your offset time is: 2023-09-30 20:39:39