Averages/Simple moving average: Difference between revisions
Content added Content deleted
Line 2,636: | Line 2,636: | ||
=={{header|Phix}}== |
=={{header|Phix}}== |
||
First create a separate file sma.e to encapsulate the private variables. Note in particular the complete lack of any special magic/syntax: it is just a table with some indexes. |
|||
<lang Phix> |
<lang Phix> |
||
sequence sma = {} -- {{period,history,circnxt}} (private to sma.e) |
sequence sma = {} -- {{period,history,circnxt}} (private to sma.e) |