Login Page - Create Account

Support Board


Date/Time: Fri, 22 Nov 2024 21:13:30 +0000



Post From: ASCIL: 'optional' Index parameter; sc.AutoLoop

[2024-10-02 02:09:51]
User379249 - Posts: 5
Hi,

Trying to make a custom Correlation study and using scsf_CorrelationCoefficient as paradigm. That study calls function GetCorrelationCoefficient as found in SCStudyFunctions. I created a similar function to do Kendall Tau correlation through much cut and paste. My scsf_KendallTauCoefficient calls my GetKendallTauCoefficient but my code does not compile ("..too few arguments to function.."). My reading clearly indicates its related to the optional 'int Index' parameter and the sc.AutoLoop = 1 setting. Perhaps I am not enabled to compile such autolooping functions which allow for the use of the Index in the function code block despite not passing the Index in. Flummoxed. I am attaching my .cpp file. (I have function and study in one file)

Thanks in advance for your help.
attachmentpost to SC Support.txt - Attached On 2024-10-02 02:09:05 UTC - Size: 2.74 KB - 95 views