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.
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.
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?