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

Bamboozled by "Easy" Language



PureBytes Links

Trading Reference Links

I know that there are many list members smarter than I when it comes to
programming.  So, I hope some one of you could take a moment to explain to
me why the following code does verify in power editor:

( 1) plot1(Average((C of Data1/C of Data2),20),"RS");


Yet, the code below does not verify in power editor:

(2) plot1(XAverage((C of Data1/C of Data2),20),"RS");


nor does this:

(3) RS=XAverage((C of Data1/C of Data2),20);
(4) plot1(RS,"RS");


Statement (1) works fine. Statement (2) produces an error message along the
lines of,  "unresolvable data number". Statements (3) and (4) produce an
error message along the lines of,  "variables and arrays not allowed here".

Clint