LTCD_070816.ISO

This commit is contained in:
Terry A. Davis authored and minexew committed 2018-09-08 21:45:20 +02:00
1 parent d14bbc24f9
commit 0e9364ff4c
506 files changed
+157705 -41812

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
//Practice your ASCII knowledge ;-)
void ASCIIOrgan()
{
U1 ch;
coutln "Press keys to make sounds";
coutln "and press ESC to exit.";
do {
//We don't want echo or scan codes, so we use NULL and FALSE...
ch=GetChar(NULL,FALSE);
Sound((ch-28)*25);
} while (ch!=CH_ESC && ch!=CH_CTRLQ);
Sound(0);
}
ASCIIOrgan;