
-----------------------------------
ziki_23
Tue Nov 09, 2010 4:45 pm

Create Snow Animation ??
-----------------------------------
What is it you are trying to achieve?
I'm trying ot create snow that falls?


What is the problem you are having?
I want to use a command other than this one


Describe what you have tried to solve this problem
I tried changing the command but errors occured


Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)

View.Set ("graphics:800;600,nobuttonbar,nocursor,noecho")
View.Set ("offscreenonly")
const NoOfFlakes := 400
var flakeX : array 1 .. NoOfFlakes of int
var flakeY : array 1 .. NoOfFlakes of int

for flake : 1 .. NoOfFlakes
    flakeX (flake) := Rand.Int (0, maxx)
    flakeY (flake) := Rand.Int (0, maxy)

end for








Please specify what version of Turing you are using
4.1

-----------------------------------
lordroba
Thu Nov 11, 2010 9:40 pm

Re: Create Snow Animation ??
-----------------------------------
 I want to use a command other than this one 

you mean like a procedure?  Please be more specific.  Do you have any other code?

-----------------------------------
Krocker
Fri Nov 12, 2010 9:28 am

Re: Create Snow Animation ??
-----------------------------------
i dotn think there are other codes to do that. All i can think of is 

randint (x1,x,y)
