Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
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.