1. CD-Wakeup 1.0
- Posted by Alan Tu <ATU5713 at COMPUSERVE.COM> Jun 02, 1998
- 689 views
- Last edited Jun 03, 1998
Hi all, Below is a rather elementary program that plays a CD track at a specified= time. Those of you who have seen this program before will notice that I use internal routines to play the CD. This program is FREEWARE. Requirements: 1. MSCDEX 2. compatible sound card 3. Irv's input.e 4. Jacques' CDAUDIO.ZIP 5. Jacques' SB.ZIP (Sound Effects 2.0) All these items are available on the Web, or drop me a line, I'd be happy= to send them to you. -----begin wakeup.e----- include input.e include cdaudio.e clear_screen() sequence tyme -- can't use the word 'time' as a var. puts(1,"Enter time to play CD: ") tyme =3D gets(0) if find(':',tyme) =3D tyme[2] then tyme =3D '0' & tyme -- look for colon position end if puts(1,"\n") integer i i =3D input("Enter track to play: ") -- sequence d sequence value_return integer hour, minutes value_return =3D value(tyme[1..2]) hour =3D value_return[2] value_return =3D value(tyme[4..5]) minutes =3D value_return[2] -- puts(1,"\n") puts(1,"CD ALARM NOW SET") -- atom h,m h =3D 0 m =3D 0 while h =3D 0 or m =3D 0 do d =3D date() h =3D d[4] =3D hour m =3D d[5] =3D minutes end while clear_screen() PlayAudio('D', i) =
2. Re: CD-Wakeup 1.0
- Posted by Frank Atry <suprsngr at EARTHLINK.NET> Jun 03, 1998
- 689 views
Guys (and Gals): Just wanted to congratulate you all on an having established an excellent network of computer lovers. Alan's e-mail demonstrates the incredible extent of unity, dedication, and collaboration among this *FINE* group of programmers, and I would just like to say my hat's off to you. As you know, I'm *very* new to this forum, and don't even know a single programming language yet, but I do hope to learn very soon and to start contributing to these discussions (after asking you guys a thousand and one questions first :P ) Any way, keep up the good work EVERYONE! Frank Alan Tu wrote: > Hi all, > > Below is a rather elementary program that plays a CD track at a specified > time. Those of you who have seen this program before will notice that I > use internal routines to play the CD. > > This program is FREEWARE. > > Requirements: > > 1. MSCDEX > 2. compatible sound card > 3. Irv's input.e > 4. Jacques' CDAUDIO.ZIP > 5. Jacques' SB.ZIP (Sound Effects 2.0) > > All these items are available on the Web, or drop me a line, I'd be happy > to send them to you. > > -----begin wakeup.e----- > > include input.e > include cdaudio.e > clear_screen() > sequence tyme -- can't use the word 'time' as a var. > puts(1,"Enter time to play CD: ") > tyme = gets(0) > if find(':',tyme) = tyme[2] then tyme = '0' & tyme -- look for colon > position > end if > puts(1,"\n") > integer i > i = input("Enter track to play: ") > -- > sequence d > sequence value_return > integer hour, minutes > value_return = value(tyme[1..2]) > hour = value_return[2] > value_return = value(tyme[4..5]) > minutes = value_return[2] > -- > puts(1,"\n") > puts(1,"CD ALARM NOW SET") > -- > atom h,m > h = 0 > m = 0 > while h = 0 or m = 0 do > d = date() > h = d[4] = hour > m = d[5] = minutes > end while > clear_screen() > PlayAudio('D', i)
3. Re: CD-Wakeup 1.0
- Posted by mountains at MINDSPRING.COM Jun 03, 1998
- 710 views
At 08:51 AM 6/3/98 -0700, you wrote: >Guys (and Gals): >Just wanted to congratulate you all on an having established an excellent >network of computer lovers. Alan's e-mail demonstrates the incredible extent >of unity, dedication, and collaboration among this *FINE* group of >programmers, and I would just like to say my hat's off to you. >As you know, I'm *very* new to this forum, and don't even know a single >programming language yet, but I do hope to learn very soon and to start >contributing to these discussions (after asking you guys a thousand and one >questions first :P ) >Any way, keep up the good work EVERYONE! >Frank Welcome! Stick around, and you'll learn a programming language :) Irv http://www.mindspring.com/~mountains for Euphoria Programs and Links