Advertisement
russotragik

[BasiEgaXorz] Arrays working perfectly

Oct 10th, 2018
1,068
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  dim tilesize(8, 8, 8) as integer
  2.  a = 0
  3.  for x = 0 to 7
  4.     for y = 0 to 7
  5.         for z = 0 to 7
  6.             tilesize(x, y, z) = a
  7.             a++
  8.         next z
  9.     next y
  10.  next x
  11.  
  12.   for x = 0 to 7
  13.     for y = 0 to 7
  14.         for z = 0 to 7
  15.             print tilesize(x, y, z),
  16.         next z
  17.     next y
  18.  next x
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement