Array problems.

Narks

Vastly intelligent whale-like being from the stars
Reaction score
90
I'm not quite sure how to do this.

No, actually, I don't really have any idea how to do this.

I want an array with two indexes, essentially, or something which has a similar effect.

Like AreaUnit[a,b].

I'm also doing this in JASS; and I assume there must be a JASS way to do it - but I don't really want to get into something really complex.

Anyone got any idea's?
 

Vexorian

Why no custom sig?
Reaction score
187
No syntax candy to do this on Jass.

In vJass, you can sort of simulate it, but it is not easy and lives to the 8190 limit.
 

Terrabull

Veteran Member (Done that)
Reaction score
38
(Rows - 1) x (number of Cols) + Col
That is the easiest way to make a single-dimension array multi-dimension.
It's sad that Warcraft 3 can't use a programing tool my calculator programs can use.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top