• 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!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[JASS] I really need some explanation

Status
Not open for further replies.
Level 16
Joined
Mar 3, 2006
Messages
1,564
Why does this

JASS:
function create takes nothing returns nothing
    local unit temp_u
    local integer i = 0
    local integer j = 0
    loop
        exitwhen i >= 5
        loop
            exitwhen j >= 5
            call BJDebugMsg( "(" + I2S(i) + "," + I2S(j) + ")" )
            set j = j + 1
        endloop
        set i = i + 1
    endloop
endfunction
print:
(0,0)
(0,1)
(0,2)
(0,3)
(0,4)

Also hashtables is returning null in the map containing the above code.

This is the link to the thread that contains the totally bugged map


<<< EDIT >>>

1st problem solved but the second in the Hidden tags is not solved.
 
Status
Not open for further replies.
Top