🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!
I am wondering if in WE if there is something for getting the upper and lower (0 in almost all cases for we) bounds of an array. If you know how can you post how below? thanks anyways if not.
Stacks, 0(N) searches and linked lists are the ways we track array positions in JASS. They are not nearly as efficient and simple as, say, the JavaScript method, which has a native to just run through the entire array.
Well the lower bounds of an array is always 0, the only variable component of an array is its size; which in JASS, is always 8191.
If you're going to be using an array for a "stack" as Bribe mentioned, then you'll have to use an integer to keep track of the used array bounds; this value will need to be updated when parts are added/removed from the array.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.