Switching to the Y-Intercept?
Author |
Message |
ProgrammedAlec
|
Posted: Tue Nov 11, 2008 11:07 pm Post subject: Switching to the Y-Intercept? |
|
|
Here I have a code:
code: | setscreen ("screen")
var row, column, colr : int
var one: int
loop
randint (one, 1, 10)
randint ( row, 1, maxrow - 2)
randint ( column, 1, maxcol)
randint (colr, 0, maxcolor)
put one
locate (row, column )
put "0" ..
colourback (black)
colour (brightgreen)
end loop |
And basically, It is the matrix but going sideways and too fast.
I need to know what to add in there or edit, so that its actually going down from the top, and slower?
Note: I started learning yesterday, so explaining it verbally will not help.
I need to know the code
Thanks to anybody who helps me ! |
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
OneOffDriveByPoster
|
Posted: Wed Nov 12, 2008 9:18 am Post subject: Re: Switching to the Y-Intercept? |
|
|
ProgrammedAlec @ Tue Nov 11, 2008 11:07 pm wrote: And basically, It is the matrix but going sideways and too fast.
Note: I started learning yesterday, so explaining it verbally will not help. Nevertheless, I'll explain. If you are switch rows with columns, then you will make something that moves horizontally to something that moves vertically. |
|
|
|
|
 |
Insectoid

|
Posted: Wed Nov 12, 2008 12:35 pm Post subject: RE:Switching to the Y-Intercept? |
|
|
What OneOffDriveByPoster means is, you have your rows/columns mixed up. |
|
|
|
|
 |
ProgrammedAlec
|
Posted: Wed Nov 12, 2008 5:48 pm Post subject: RE:Switching to the Y-Intercept? |
|
|
It worked, thank you! |
|
|
|
|
 |
|
|