Computer Science Canada

simontanious processes

Author:  santabruzer [ Sun Jan 11, 2004 3:25 pm ]
Post subject:  simontanious processes

i know there's a fork command to make the process go on in the background.. but i always wondered, how do people do the falling text, and make it so that more than one will be done at one time..

Author:  Tony [ Sun Jan 11, 2004 5:16 pm ]
Post subject: 

you can fork multiple processes
code:

process a
loop
put "a"
end loop
end a

process b
loop
put "b"
end loop
end b

fork a
fork b


or (much better way) you have a single procedure that keeps track of all the letters

Author:  santabruzer [ Sun Jan 11, 2004 5:18 pm ]
Post subject: 

ha ha.. yea.. i rethought a way of doing it.. and use records and refreshing the screen to make it look like they are simontaious.. so it's all good Laughing


: