Passing Array by reference to a function

I can’t get anything except greyed out ‘by ref’.

I don’t get how you’re setting things, as this works

image

What engine version is this?