PT
Developer Forums
Register
Login
AppGameKit Classic Chat
->
User Defined Type
<
1
>
F
FlyingWild
Joined:
29th Jul 2011
Location:
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.
D
Daniel TGC
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.
X
XanthorXIII
Joined:
13th May 2011
Location:
Posted:
22nd Aug 2011 7:04
So you can't do it locally within the function? Is that something that is coming up that could be implemented?