View Single Post
Old 12-21-2010
juan alberto juan alberto is offline
Flexsim User
Join Date: May 2009
Location: Valencia, Spain
Posts: 74
Downloads: 14
Uploads: 0
Thanks: 19
Thanked 3 Times in 2 Posts
Rep Power: 137
juan alberto is on a distinguished road
Exclamation return treenodearray

Hi people,

I have a user command that returns a treenodearray. I have tested it and it works correctly. But when I assign a treenodearray variable to this function, for instance:

treenodearray x = usercommand();
//usercommand returns a treenodearray

It never works, and I don't know why. Can a user command return an treenodearray? Can a user command return an object? Or it only can return simple types like int, double, string....

Thank you!
Reply With Quote