Support Board
Date/Time: Thu, 03 Jul 2025 12:12:34 +0000
Post From: Incorrect ACSIL Function (SCALE_CONSTRANGE)
[2024-08-30 04:44:50] |
User688525 - Posts: 291 |
Hello Sierra, By compiling, I am referring to building the study (Analysis > Build Custom Studies DLL > Build > Remote Build) which generates the following error when using "SCALE_CONSTRANGE": Server: https://build.sierrachart.com The remote build is complete. The build failed. Ticks-Range-FP.cpp: In function 'void scsf_TicksRange(SCStudyInterfaceRef)': Ticks-Range-FP.cpp:10:38: error: 'SCALE_CONSTRANGE' was not declared in this scope; did you mean 'SCALE_CONSTANT_RANGE'? 10 | sc.BaseGraphScaleRangeType = SCALE_CONSTRANGE; // set scale range type to constant range | ^~~~~~~~~~~~~~~~ | SCALE_CONSTANT_RANGE Using SCALE_CONSTANT_RANGE in place of "SCALE_CONSTRANGE" results in a successful build, however, as per the above, "sc.ScaleConstRange' does not work. |