4.5 Functions and Special Variables: Difference between revisions
From MultiCharts
4.5 Functions and Special Variables (view source)
Revision as of 11:35, 19 September 2013
, 19 September 2013→Barsback: Same error occurred in the second example.
(Created page with "==Functions== Simple functions execute some operation over the sent arguments and return the results. If the arguments are identical, the result will always be the same. Thes...") |
m (→Barsback: Same error occurred in the second example.) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 65: | Line 65: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
[[Category:.NET | [[Category:4. Understanding PowerLanguage .NET]] | ||
==Barsback== | ==Barsback== | ||
Line 88: | Line 88: | ||
protected override void Create() { | protected override void Create() { | ||
Plot1 = AddPlot(new PlotAttributes("Test")); | Plot1 = AddPlot(new PlotAttributes("Test")); | ||
m_plotVal = new VariableSeries<Double>(this); | |||
} | } | ||
Line 122: | Line 123: | ||
{ | { | ||
Plot1 = AddPlot(new PlotAttributes("Test")); | Plot1 = AddPlot(new PlotAttributes("Test")); | ||
m_plotVal = new VariableSeries<Double>(this); | |||
} | } | ||