View Single Post
Old 06-07-2006, 03:18 PM   #31
samir555
User
 
samir555's Avatar
 
Join Date: Mar 2006
Posts: 11

samir555 has little to show at this moment (0)

Send a message via AIM to samir555
Default

i ddidnt understand this piece here

Collapse JASS:
function Trig_JASS_test_Actions takes nothing returns nothing
 local integer a = 2
 local integer array b
    set b[a] = 5
    set b[a+1] = 7
    set b[a+2] = b[a+1]-b[a] 
    set b[1356] = b[a+2] + 335
    call DisplayTextToForce( GetPlayersAll(), I2S(b[a]) )
    call DisplayTextToForce( GetPlayersAll(), I2S(b[a+1]) )
    call DisplayTextToForce( GetPlayersAll(), I2S(b[a+2]) )
    call DisplayTextToForce( GetPlayersAll(), I2S(b[1356]) )
endfunction

i just dont get how if b is the array it comes firrst when a is the integer. it just dioesnt make sense id like this to be explained tyty
__________________
CLASSIFIED INFORMATION

Beware what your about to see is nothing ever witnessed before.
ULTRA TOP SECRETHIDDEN

YAY FOR WOS; WORLD OF STARCRAFT




2000 Marine Defence


OMG FREE BEER!!!
samir555 is offline   Reply With Quote
Sponsored Links - Login to hide this ad!