
-----------------------------------
ecookman
Sun Dec 14, 2008 2:22 pm

blips
-----------------------------------
since i can't get my countdown to Christmas to work and nobody is helping (i tried ruby and i couldn't get it to work.. i ma talking about the turing one)
i made this

 
var a : int
var b : int
loop
randint (a,100,20000)
randint (b,1,100)
sound (a,b)
end loop


go nuts

-----------------------------------
syntax_error
Sun Dec 14, 2008 2:23 pm

RE:blips
-----------------------------------
The point being?

-----------------------------------
ecookman
Sun Dec 14, 2008 2:39 pm

RE:blips
-----------------------------------
meeh something i made that people might like...and out of my sadness of the counter failure

-----------------------------------
dc116
Sun Dec 14, 2008 6:32 pm

RE:blips
-----------------------------------
I don't understand the purpose of your program. Is it for that game of yours?

-----------------------------------
ecookman
Sun Dec 14, 2008 7:22 pm

RE:blips
-----------------------------------
lol no i just found out how to use the sound function and thought hmmm what happens if I put a loop into it along with a random sound...i thought it was cool

-----------------------------------
Parker
Mon Dec 15, 2008 8:18 am

RE:blips
-----------------------------------
Kind of interesting I guess..but about the countdown, many people have tried to help :(

-----------------------------------
SNIPERDUDE
Mon Dec 15, 2008 12:54 pm

RE:blips
-----------------------------------
for the counter use mod for helping with the math and something under Time.~ for getting the current time and date.  Just pseudo code to get an idea.

just remember simple time conversions:

24 h = 1d
60 m = 1h
60 s = 1m
1000 ms = 1s

-----------------------------------
ecookman
Mon Dec 15, 2008 4:33 pm

RE:blips
-----------------------------------
errm thanks....wrong topic lol


and what is pseudo

-----------------------------------
SNIPERDUDE
Mon Dec 15, 2008 9:55 pm

RE:blips
-----------------------------------
ummm, logic code, not specific to any language.  Code made to be read by a human, not by a programming language.

Ex:

if this happens
    do this


-----------------------------------
ecookman
Mon Dec 15, 2008 9:57 pm

RE:blips
-----------------------------------
aah thanks
