
-----------------------------------
Canadian Rob
Wed May 12, 2004 7:04 pm

Music Bomb
-----------------------------------
Hey, Im new to comp sci.ca but not new to turing bein programin with it for about 2 years... well Today the teacher was yellin at me for stuff i dident do so.. I decided to so something so I have a reason to be yelled at! lol Well heres the code

Bascily What it does Enter a time, file name hit enter Runs as a background process cant be ended on Windows ME below Xp and 2000 you can kill it but yea.. Set it like 2 min after the bell goes ;) 


var windowID:int:=-1
     var timeOfDay : string:=""
 var timeOfDayInput:string
 var fileName:string
put "Enter a time..HR:MIN:SEC"
get timeOfDayInput
put "Enter file name"
get fileName
Window.Hide (windowID )
        loop
        time ( timeOfDay )
        if timeOfDay = timeOfDayInput then
                Music.PlayFile (fileName)
        end if
        put "Greetings!!  The time is ", timeOfDay
end loop


Tell me what ya think ;) thnx

-----------------------------------
Dan
Thu May 13, 2004 1:27 pm


-----------------------------------
Very evil  :twisted: 

Alougth this whould make a cool alram clock as well.

-----------------------------------
Canadian Rob
Thu May 13, 2004 2:31 pm


-----------------------------------
Eh! Thats a good Idea ... lol never thought about that.. I should make it like scuduling and stuff.. Hrmm.. *Thoughts Comming to mind*

-----------------------------------
the_short1
Sun May 16, 2004 12:11 pm


-----------------------------------
yea very evil indeed...

PM me and ill send yea some cool stuff that i made ** its not fit for compsci... its too evill :twisted:.... im gona add ur music bomb to it now :)
