|
-
Nov 10th, 2005, 10:20 PM
#1
Thread Starter
Fanatic Member
[RESOLVED] Arrays! How to define one
I am working on a video game. I used to code in qbasic and I would to create a map array use
for x=1 to 15
for y=1 to 13
read map0(x,y)
next
next
code
code
code
data 1,2,3,4,2,7,3,4,9,6,1,3,5,2,4
data 1,2,3,4,2,7,3,4,9,6,1,3,5,2,4
data 1,2,3,4,2,7,3,4,9,6,1,3,5,2,4
data 1,2,3,4,2,7,3,4,9,6,1,3,5,2,4
data 1,2,3,4,2,7,3,4,9,6,1,3,5,2,4
data 1,2,3,4,2,7,3,4,9,6,1,3,5,2,4
data 1,2,3,4,2,7,3,4,9,6,1,3,5,2,4
data 1,2,3,4,2,7,3,4,9,6,1,3,5,2,4
data 1,2,3,4,2,7,3,4,9,6,1,3,5,2,4
data 1,2,3,4,2,7,3,4,9,6,1,3,5,2,4
data 1,2,3,4,2,7,3,4,9,6,1,3,5,2,4
data 1,2,3,4,2,7,3,4,9,6,1,3,5,2,4
data 1,2,3,4,2,7,3,4,9,6,1,3,5,2,4
something like that. how can i do this in visual basic without 15*13 lines of code
map0(1,1)=1
map0(1,2)=3
map0(1,3)=7
and so on
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|