• 🏆 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!

Is it possible to get upper and lower bounds?

Status
Not open for further replies.
Level 18
Joined
Jan 21, 2006
Messages
2,552
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.
 
Status
Not open for further replies.
Top