[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EZLang Q



PureBytes Links

Trading Reference Links

Max:
>I'm working on converting a function to an array function. This has
>succeeded in the past with ease, really, but now I am trying to
>call another array function, average_a, with the following:
>
>Function_a =Average_a(CloseArray - Value1,Slow);
>
>"Extraneous text is not allowed after the array parameter",
>referring to the minus sign.

You can't do math operations on arrays.  If you want to subtract
value1 from every array element in CloseArray, then you have to
write a loop to do that, and then pass the resulting array into
Average_a().

-Alex