
-----------------------------------
magicman
Wed Apr 28, 2004 9:15 am

2 D arrays
-----------------------------------
I'm making a 2d array and i need help with 2 d arrays. Can anyone teach me how to use them??
and also how would I use it in my rpg?

-----------------------------------
AsianSensation
Wed Apr 28, 2004 9:22 am


-----------------------------------
http://www.compsci.ca/v2/viewtopic.php?t=1117

-----------------------------------
Tony
Wed Apr 28, 2004 10:58 am


-----------------------------------
eh...
[url=http://www.compsci.ca/v2/viewtopic.php?t=366]arrays
[url=http://www.compsci.ca/v2/viewtopic.php?t=3248]another array

-----------------------------------
Flashkicks
Wed Apr 28, 2004 1:20 pm


-----------------------------------
Heres a nice handy Dandy grid system relative to using 2Dimentional arrays..  You can just change the sizes of the boxes when yuo call the procedure.  
procedure Boxes (hieght : int, width : int)
    for i : 1 .. 8
        for j : 1 .. 8
            drawbox (width * i, hieght * j, width * i + hieght, hieght * j + width, 12)
        end for
    end for
end Boxes
Boxes (25, 25)

