Arrays in RobotC

I’m working in robotC for our VEX robots, and I cannot figure out how to pass an array into a function.

When I try to declare the function as:

int Foo(int array]);

I get several errors that sum up to mean that the code doesn’t like square brackets inside function declarations.

Is there a way to pass arrays into functions, or will I have to find an alternate solution?

You might want to look at this thread on the RobotC forums. It seems that you can’t pass arrays to functions, but that might have changed…