**Question:**I ran into a point where it would be very helpful to send a function a portion of an array, instead of the entire thing. Now i can think of a couple work arounds like sending the whole array and a begin number, and range number, then computing off of that, or making a second array with only the portion needed and sending it.

I am hoping however that there is a simpler way.

int myfunc(array[]) {}

x = myfunc(array[from a to b]);

is essentially the idea though I am certain its not in syntax.

**Reason:** In my programming a calculator I am ending up with some what is fairly convoluted code to essentially make it take any equation entered, compute it and return its output. And I would like to save 8 lines of code and hopefully a few steps for the processor.

as in:

string equation = 3+(42*-3.46);

answer = value_of(equation);

where value_of() is an absurdly complex function hehe