Now that I know you need to return a hashtable I have another problem.
Aveva has a very short string limit so I'm trying to return a hashtable with multiple values per key.
Adding list, array or other collection (like so: output.Add(keyVal, namesCollection);) per hashtable key will not work as aveva does not recognize them.
Even tried returning a hashtable within a hashtable but I think maybe the additional keys destroy it on aveva side as I'm getting this error: (61,616) F&M: Array invalid: heterogeneous, wrong type or sparse.
So my question is how can I return an array with an array on each of it indexes to aveva?
Like: Names[0] Tim[0], Mike[1], Maria[2]. etc you know how it goes.
EDIT: also does aveva string limit apply to array sizes? Or does aveva also limit array sizes as is?