The current issue is the syntax error at line 110, missing ; before statement. I can't figure that out. As all prior statements have semi colins.
The modification that I was trying to make with this file from the one in my last post is that I am trying to plot out both the cumSumEs and cumSumNq in the main function.
To do this I have broken down the 1 internal "difference" function (that had included both cumSumEs and cumSumNq functions), into three seperate functions.
Question 1
Is it necessary to break the "Difference" function down into three functions?? If I had left both cumSumEs and Nq aspects in the "Difference" function and used the
return new Array (Difference, cumSumEs, cumSumNq);
as the return statement in my internal function, could I have then seperatly called all three of the values being returned in the internal function's return Array, into my main function and plot them out as seperate lines??
I tried to do exactly that, but was getting errors, so I assumed that I couln't
Question 2
The other problem I was having with attached file, was an error at line 85, xCumSumEs not defined. Isn't it defined at line 81???
To try to fix this, I tried listing the names of functions cumSumEs and cumSumNq in the perameter of functions Difference.
Any suggestions are greatly appreciated,
John
The modification that I was trying to make with this file from the one in my last post is that I am trying to plot out both the cumSumEs and cumSumNq in the main function.
To do this I have broken down the 1 internal "difference" function (that had included both cumSumEs and cumSumNq functions), into three seperate functions.
Question 1
Is it necessary to break the "Difference" function down into three functions?? If I had left both cumSumEs and Nq aspects in the "Difference" function and used the
return new Array (Difference, cumSumEs, cumSumNq);
as the return statement in my internal function, could I have then seperatly called all three of the values being returned in the internal function's return Array, into my main function and plot them out as seperate lines??
I tried to do exactly that, but was getting errors, so I assumed that I couln't
Question 2
The other problem I was having with attached file, was an error at line 85, xCumSumEs not defined. Isn't it defined at line 81???
To try to fix this, I tried listing the names of functions cumSumEs and cumSumNq in the perameter of functions Difference.
Any suggestions are greatly appreciated,
John
Comment