Support Board
Date/Time: Thu, 23 Jan 2025 03:23:39 +0000
Post From: Bug with sc.ArraySIze
[2018-10-29 13:24:33] |
User470516 - Posts: 78 |
Dear SC Team, About 2 to 3 weeks ago, several of my studies which were working fine started to litterally blow SC off. I think it happened after an update but I cannot tell which version. I run the very latest version. I initially thought that was related to "Numeric Info Table Graph Draw Type" for which I was asked to wait for the newest version. I just found out it is due to the use of sc.ArraySize in any configuration. To make it simple please use the following code found here (with nothing else): https://www.sierrachart.com/index.php?page=doc/ACSIL_Members_Variables_And_Arrays.html#scArraySize: for (int i = 0; i < sc.ArraySize; ++i) { // SC_LAST is for the Close values in OHLC bars debug = sc.BaseDataIn[SC_LAST]; } with the proper surrounding code and that will blow SC. I then need to kill the process. 1- Can you reproduce that? Thank you for your support. Regards, Laurent |