Computer Science Canada Lifebar Program |
Author: | Danjen [ Fri Mar 07, 2008 11:20 pm ] | ||||||
Post subject: | Lifebar Program | ||||||
Just some useless "lifebar" program I cooked up. Feel free to use it in whatever you want. I tried to make it as flexible as possible, but you might still find a way to 'break' it. ![]() Syntax is:
And, an example:
|
Author: | BigBear [ Sat Mar 08, 2008 7:38 pm ] |
Post subject: | Re: Lifebar Program |
Just wondering why did you create a new type and have to specify three different values? Why not have it like blue and grey? |
Author: | Danjen [ Tue Mar 11, 2008 8:58 pm ] |
Post subject: | Re: Lifebar Program |
Well, I figured that having three closely related, mutually required variables merited their own type. *shrug* |
Author: | BigBear [ Tue Mar 11, 2008 9:16 pm ] |
Post subject: | Re: Lifebar Program |
I like your program a lot more than your example shows. Also the new type can be used to make secondary colours like yellow. I can see myself using it. Great Job. |
Author: | A.J [ Thu Mar 13, 2008 12:52 pm ] |
Post subject: | Re: Lifebar Program |
pretty cool program!!! thnx! A.J |
Author: | Kharybdis [ Wed Mar 26, 2008 12:12 pm ] |
Post subject: | Re: Lifebar Program |
Good job on the life bar program. ITs cool.. |