- Joined
- Aug 7, 2013
- Messages
- 1,338
Hi,
If we have some struct myStruct and I give it an array of myStruct as a field, will this be ok behavior wise, or will there be any funny issues arising?
I know it compiles and everything. But I've made a struct just like this and it's behavior starts to get "unpredictable" once I use it more than once, and I am not even exceeding 8192 instances (or 8192 / highest array size).
If we have some struct myStruct and I give it an array of myStruct as a field, will this be ok behavior wise, or will there be any funny issues arising?
JASS:
struct myStruct
myStruct array[5]
static method create takes nothing returns nothing
...
endmethod
...
endstruct
I know it compiles and everything. But I've made a struct just like this and it's behavior starts to get "unpredictable" once I use it more than once, and I am not even exceeding 8192 instances (or 8192 / highest array size).