Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
JoelJ
21
Years of Service
User Offline
Joined: 8th Sep 2003
Location: UTAH
Posted: 25th Dec 2003 21:37 Edited at: 25th Dec 2003 21:47
im no good with arrays so i just want to make sure this would work:


that would make an array of size x wide and y tall, right?

also, using the code above:


that will set all the "grid points" equal to 'z' right?

thanx

also:
does it count 0 as a space?
so if i say i want it to be map(50) i could use from 0-50 or 1-50?

Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 25th Dec 2003 22:45
I believe DB actually does 0-50.
As far as your code, it looks right. Why bother posting it if you've already written it, and most probably already tested to see if it worked?

Oh, I think the input command returns a string, you need an integer.
x = int(string)

Login to post a reply

Server time is: 2025-05-22 08:59:50
Your offset time is: 2025-05-22 08:59:50