Old Tymey programming
Hi. I'm writing a program in Borland Pascal to get in touch with some old schoolery, and I wanted to know if there's a way to make two proedures run at the same time.
What I mean is, the Pascal way of making sounds from the internal speaker is like this..
sound(220);
delay(500);
NoSound;
What that would do is play a tone at 220 hz, wait 500 ms, then cut the sound. However, I can't have a 500 millisecond delay if I want a sound to play in the middle of a game.
I think you know what I mean now... any input is appreciated.
__________________
wra
|