Not possible for a function argument to be an array of strings?

bluedropletbluedroplet Member Posts: 8
With these function prototypes:

function setTest(string[] test) {}
function setTest(string[4] test) {}

I get this error:

:40:20: Type error: Internal type is not allowed for public and external functions.
function setTest(string[] test) {}

But these 2 work:

function setTest(string test) {}
function setTest(int[] test) {}

Is it not possible to pass an array of strings to a function?


Sign In or Register to comment.