Support Board
Date/Time: Wed, 25 Dec 2024 05:34:46 +0000
[User Discussion] - "For" Loop inside of a struct
View Count: 807
[2015-11-06 20:37:57] |
User126996 - Posts: 30 |
Need a clue why the following "for" loop will not work inside of my struct. It won't compile. int CD_Status; int MyArray[5]; int index; struct s_PermData { for (index = 0; index < 5; index++){ MyArray[index] = CD_Status; } }; s_PermData* PermData; PermData = (s_PermData*)sc.StorageBlock; Any insight would be appreciated. |
[2015-11-06 21:55:54] |
User126996 - Posts: 30 |
Disregard above questions. Figured it out
|
To post a message in this thread, you need to log in with your Sierra Chart account: