Login Page - Create Account

Support Board


Date/Time: Wed, 12 Feb 2025 09:43:51 +0000



Post From: SumAllChartsBar SumChartsFromList questions

[2020-10-13 04:02:30]
jomo88 - Posts: 47
1) In Studies6.cpp, the study SumAllChartsBar, line 100:

for (int SubgraphIndex = 0; SubgraphIndex < 6; SubgraphIndex++)

Why 6? Aren't there 11 subgraphs to loop through? Along the same line of questioning...

2) In Studies6.cpp, the study SumChartsFromList, line 426:

for (int SubgraphIndex = 0; SubgraphIndex <= SC_LAST; SubgraphIndex++)

I don't see how SC_LAST could even make sense being used here. Is this an error? In SumAllChartsBar it was 6, and here it is SC_LAST. Can you give some clarification behind the logic in both cases? Thank you.