When I have a function that return multiple values I can either store them in seperat values or use the {} operator to get an array.
To access the values I can either define a variable to store the value or access the array via array[index]. When using a temp var to print the value I code:
function myTest() return "abc", "def", "geh"; end a = {myTest()}; v = a[2]; print(v); which works very well. But when printing the "indexed array converted return value" from the function with
function myTest2() return "abc", "def", "geh"; end print({myFunction2()}[2]); nothing gets printed.
Can someone explain me why?