You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jurst aims to support vJass, but multi-dimensional arrays are not included - they raise an error "Only one-dimensional arrays are supported currently." in Eclipse.
Fixing this shouldn't be too complicated I would imagine.
The text was updated successfully, but these errors were encountered:
Maybe a better approach is to use a custom data type or module instead of a built-in language feature. Then you could also decide whether sizes are dynamic or static, whether to do bound-checks or not, and so on.
#297 might help to make it look very similar to native arrays.
Support from the compiler is probably only required, if you want more than 8191 entries.
So: this feature might be nice to have, but it would not give too many benefits compared to a library. Therefore I would give it a low priority.
Maybe a better approach is to use a custom data type or module instead of a built-in language feature. Then you could also decide whether sizes are dynamic or static, whether to do bound-checks or not, and so on.
Isn't it true that plain JASS already has a weird static/dynamic syntax?
I think int array q and int array w[5] are both valid, and dynamic sizing will only work for the first. Am I misled?
Jurst aims to support vJass, but multi-dimensional arrays are not included - they raise an error "Only one-dimensional arrays are supported currently." in Eclipse.
Fixing this shouldn't be too complicated I would imagine.
The text was updated successfully, but these errors were encountered: