array.toStruct()
Transform the array to a struct, the index of the array is the key of the struct
array.toStruct( )
Returns: Struct
This function does not take any arguments.
Examples
myarray = ["one","two","three","four","five"];
res = myarray.tostruct();
writeDump(res);