Author |
Message |
Megaman_Zero
|
Posted: Tue Oct 27, 2009 1:35 pm Post subject: Help with making a grid |
|
|
What is it you are trying to achieve?
I am trying to create a grid in a Turing version of Word by using the number of columns and rows that the user inputs.
What is the problem you are having?
I can't seem to be able to create the grid itself and chage its size.
Describe what you have tried to solve this problem
I tried to make boxes that would criss-cross to make the grid with Draw.Box according to the numbers inputed.
Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)
I don't have much right now, other than the lines asking for the number of columns and rows. Any ideas would be appreciated.
Please specify what version of Turing you are using
4.0.5 |
|
|
|
|
|
Sponsor Sponsor
|
|
|
DemonWasp
|
Posted: Wed Oct 28, 2009 9:04 am Post subject: RE:Help with making a grid |
|
|
Get out a piece of paper, a ruler and a pencil. Draw a grid, any way you like, using only those materials (and perhaps a square edge to get lines properly perpendicular. Describe how you did it in English. Think about how you can do this in a programming language - you probably did one little action (probably drawing something) several times in a similar manner (this is repetition: for / loop). |
|
|
|
|
|
Megaman_Zero
|
Posted: Wed Oct 28, 2009 1:02 pm Post subject: Re: Help with making a grid |
|
|
Can't believe I didn't think of that in the first place... Thanks for the help DemonWasp.
And sorry if the question seemed noobish. |
|
|
|
|
|
DemonWasp
|
Posted: Wed Oct 28, 2009 8:48 pm Post subject: RE:Help with making a grid |
|
|
No problem. Noobish questions are expected fare on a board intended for high school students learning programming for the first time.
Besides, if the questions weren't noobish I probably wouldn't be able to answer them. |
|
|
|
|
|
|