Login Page - Create Account

Support Board


Date/Time: Fri, 29 Nov 2024 16:38:02 +0000



Post From: Functions in ACSIL

[2018-10-29 13:13:53]
User470516 - Posts: 78
Dear SC Team,

1- I hid the post because I wrote I was considering to eventually buy a consulting service from SC and I was not sure you wanted that to go public.

2- Thank you very much for your answer and the help offer. I will not bother you with that this time because I eventually solved my problem when I ran into a huge piece of code provided by a gentlemen on the forum, I analysed it and realized I needed to declare my function as such:
void function(SCStudyInterfaceRef sc, ...). I would never have figured out this was required as I do not understand why. May I suggest you mention it here: Advanced Custom Study Interface and Language (ACSIL) may be with an example?

3- I have somme additional questions re. functions if they fall within the scope of your support:
3.1- The function I wrote is within a study where it is called from. I'd like it in a separate file. Should I write a .cpp file
containing the function code like I would for a study?
3.2- I have to create a 'myOwnStudy.h' file to declare the function and #include "myOwnStudy.h" in my studies that will call the
functions?
3.3- Would you have any example you can provide (moving average...)?

Once again, thank you for your support.

Regards,

Laurent