home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 15
/
CD_ASCQ_15_070894.iso
/
maj
/
680
/
examples
/
tone.c
< prev
next >
Wrap
C/C++ Source or Header
|
1994-03-14
|
202b
|
17 lines
/*
** TONE.C: Plays a series of tones.
*/
#include <pictor.h>
void main()
{
int i;
for(i = 110;i <= 880;i += 20)
tone(i,1);
for( ;i >= 110;i -= 20)
tone(i,1);
}