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

Re: Bamboozled by "Easy" Language



PureBytes Links

Trading Reference Links

Clint, use the function Xaverage.V instead of Xaverage. I just tried it and
it worked fine.
Randy Murphree

----------
From: Clint Chastain <flag@xxxxxxxxxxxx>
To: Omega-list <omega-list@xxxxxxxxxx>
Subject: Bamboozled by "Easy" Language
Date: Friday, October 30, 1998 3:11 PM

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