Sunday, September 21, 2008

Countdown

waaah! a new program! I spent all day on this one because I tried to use the Goto command with a variable. It turns out that instead of looking for the number that is the value of X, the Goto command, instead looks for the letter "X" itself! .. Anyway, it was foolish of me. Also, most people don't use the Goto command.
check this out: XKCD =p

Anyway, what does this program do? What do those numbers mean? What does it count down to? ... Could it be counting the minutes to the season premiere of Heroes? --- or could it be counting down to the official announcement/event of Google's Android powered HTC Dream?
Nobody knows... yet =p .. you'll see

**Edit** I will be releasing this program in school within my calculator suite which includes:
-reliable program for lines
-for the Quadratic formula
-and this.. my most recent program

Sunday, September 14, 2008

Clean.bat - compcare


I wrote this batch program a while ago, actually.  basically what it does is manages your harddrive (It does what YOU should do, FOR you) though, those tasks are very tedious, i like to keep my computer in good health.  Everything here is original except the sleep command and i used JkDefrag as my defragmenter.

I originally wrote this program on an XP machine.
Just recently, my dad bought me a new computer (i was quite surprised) but the computer runs Windows Vista.
i quickly realized that this program did not work on this machine.  Then, i rewrote the whole thing

from scratch.  At first, I wrote a seperate set of commands for both Windows XP and Vista, and the program worked! I tried it on both.
The bad thing about that is, it made the program unbearably long, it was a bit excessive.
so what i did was introduce variables to cover the differences between the two operating systems and the program was shortened to nearly half its original length!


When i finally finished (probably still needs a lot of work) I decided to make a USB version. I do carry this copy around with me, and if someone happens to need it, I just drag it straight to their desktop (The desktop directory was one of the differences between XP and Vista) and it works!