
-----------------------------------
helloolleh
Tue May 26, 2009 8:31 am

Asterisks are fun!
-----------------------------------
Hello!
I jus immigrated to canada two days ago and i need help!
does anybody know how make an asterisk move across the screen on a certain row.
respond before 9:45 am
thank you

-----------------------------------
helloolleh
Tue May 26, 2009 8:31 am

RE:Asterisks are fun!
-----------------------------------
eastern time

-----------------------------------
BigBear
Tue May 26, 2009 9:37 am

RE:Asterisks are fun!
-----------------------------------
you can simply use 
locate(row, column) 
and

put "*"

then decide how you want the user to move it could be a get staement to get the row and column

I would suggest using locatexy or moving a box around the scrren

-----------------------------------
animeanime
Tue May 26, 2009 10:12 am

Re: Asterisks are fun!
-----------------------------------
Mabye you were looking for something like this?

var column: int

put "Choose a column for line ",
    "between 1 and 80 inclusive"
get column

cls

for row: 1..25
    locate (row,column)
    put "*"..
end for

This will draw a line verticly from top to bottem on the screen. You can add a delay if you want to to make it go slower or faster, up to your choise.

-----------------------------------
Siavash
Tue May 26, 2009 12:03 pm

RE:Asterisks are fun!
-----------------------------------
*snip*


Mod Edit: Giving full answers dose not help people learn.

-----------------------------------
Dan
Tue May 26, 2009 8:06 pm

RE:Asterisks are fun!
-----------------------------------
Lets not give full answers to obvious home work questions. 

Thanks.

-----------------------------------
animeanime
Wed May 27, 2009 8:23 am

RE:Asterisks are fun!
-----------------------------------
Sorry about that ^_^
