Thread: Itemdex
View Single Post
Old 06-04-2009, 09:33 PM   #10
Anitarf
Procrastination Incarnate


Development Director
 
Join Date: Feb 2004
Posts: 8,190

Submissions (19)

Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)

2008 Spell olympics - Fire - SilverApproved Map: Old School Alliance TacticsHero Contest #2 - 3rd PlaceSpell making session 2 winner

Default

Quote:
Originally Posted by Vexorian
the get method is finished. Its purpose is just to have a name in the debug message, so it will be removed when .name is added to structs.
Oh, ok. I understood it was a placeholder, just didn't know it was a functional one.
Quote:
I don't get the other statement too well, what's the if alternative? That's just a modulo operation.
Well, an alternative to set i= i-indexN*(i/indexN) would be something like:
Collapse JASS:
If i>=indexN then
    set i=0
endif
__________________
Anitarf is offline   Reply With Quote