Support Board
Date/Time: Fri, 31 Jan 2025 12:07:18 +0000
Post From: Array Bounds violation in dynamic arrays
[2019-04-18 05:05:33] |
User255315 - Posts: 133 |
Hi SC, I have a question regarding dynamic arrays. It might be too vague but this is how i can explain the problem: I use dynamic arrays to constantly store values pertaining to every price as the session progresses but when there is a new low or high i.e extension in the array size, i get thrown an exception. Would this be related to an array bounds violation? If so, how do i handle it. Even guidelines relating to this are welcome. To clarify further, i am running a loop over hi to lo to calculate said values for every price, and am getting an exception when those lo to hi indexes change. Thanks in advance. |