I want to pass a array of strings throught a function and that function is going to return back the array. So I need to use pointers for that.
Let's keep it simple!
I first have my array:
myStrArray: ARRAY[0..10] OF STRING;
Then I need to convert myStrArray to a pointer.
p_myStrArray: POINTER := ADR(myStrArray);
Then I need to pass p_myStrArray throught my function
p_returnArray := myFunc(p_myStrArray);
FUNCTION myFunc: POINTER
myFunc := p_myStrArray; // Return statement
And then recive my pointer and turn it back to an array
returnArray: ARRAY[0..10] OF STRING;
returnArray := p_returnArray^;
But it won't work for me. What have I missed?