Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

The 20 Line Challenge / The 20 Line Clock

Author
Message
Phoenix Games
15
Years of Service
User Offline
Joined: 19th Feb 2004
Location:
Posted: 25th Feb 2004 12:56
Pathetic, I know. It keeps track of seconds, minutes, hours, days of the week, days of month, and the month. Unfortunately, due to limited space, I've cut out the bit where it prints the day of the month. Any feedback would be great

p.s. please don't be too harsh. I know it's pointless and boring but it;s something new right?
Phoenix Games
15
Years of Service
User Offline
Joined: 19th Feb 2004
Location:
Posted: 25th Feb 2004 13:28
Oh, by the way, it's in DBC so i don't know whether it will work in DBP or not.
Colella
15
Years of Service
User Offline
Joined: 28th Aug 2003
Location: Brazil
Posted: 26th Feb 2004 03:18
Not work in DBP!
Damokles
16
Years of Service
User Offline
Joined: 28th May 2003
Location: Belgium
Posted: 28th Feb 2004 18:12
Interestening, but it's not the actual hour, nor the date
Fix that and you'll recieve my congratulations

"Begin at the beginning, and go on till you come to the end: then stop." - Lewis Carroll
Teh Go0rfmeister
15
Years of Service
User Offline
Joined: 17th Aug 2003
Location:
Posted: 29th Feb 2004 12:09
what about on leap yrs?

http://www.tinnedhead.tk under re-construction.
Phoenix Games
15
Years of Service
User Offline
Joined: 19th Feb 2004
Location:
Posted: 29th Feb 2004 12:43
Unfortuneately, i don't know how to do that without going over my 20 line limit
I was really just trying to experiment with timing and variables, otherwise you could just enter a few commands to get the time and date and make it update all the time. What i was going for was more of the program where you can set the time, which is currently being added in.
Phoenix Games
15
Years of Service
User Offline
Joined: 19th Feb 2004
Location:
Posted: 29th Feb 2004 13:06
Help!! I've made the feature so you can enter all the dates but now it will only show the dates that on the start of a row - for instance if it starts
if day = 4
then that will be fine and it will print thursday but if after that on the same line it has
if day = 5
if won't print Friday
please could someone look at my code and tell me what's wrong?
David T
Retired Moderator
16
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 1st Mar 2004 21:41
Cool, this would work nice with an upcoming TPC I'm writing:

GetSeconds()
GetMinutes()
GetHours()
GetDayWeek()
GetDayYear()
GetMonth()
GetYear()

Hopefully self-explanatory. Returns values based upon the current time.

"They misunderestimated us" - George Bush
"The box said 'Requires Windows 95 or better'. So I installed LINUX. "

Formerly David89.
Saikoro
15
Years of Service
User Offline
Joined: 6th Oct 2003
Location: California
Posted: 3rd Mar 2004 05:42
Dude in your code(I have seen this a million times), you are trying to put spaces I presume by using PRINT "". You actually need to insert the space using PRINT " ". Not that big a deal just thought u should know for future reference. Otherwise its a pretty kewl code that people could use if they need a game timer.

-Vash the Stampede

Intel Pentium 4 3.0 Ghz 1024MB Ram NVIDIA GeForceFX 5200 128MB 19" LCD DVI Viewsonic

Phoenix Games
15
Years of Service
User Offline
Joined: 19th Feb 2004
Location:
Posted: 4th Mar 2004 22:11
Thanks Alot Guys, I'm working on it, but can anyone tell me about my problem previously posted because I still can't understand why it doesn't work and I'd like the user to be able to set the time.
thanks alot
Phoenix Games
15
Years of Service
User Offline
Joined: 19th Feb 2004
Location:
Posted: 4th Mar 2004 22:14
Oh I forgot,
GetSeconds()
GetMinutes()
GetHours()
GetDayWeek()
GetDayYear()
GetMonth()
GetYear()
doesn't seem to work, is it for dbp or dbc?
David T
Retired Moderator
16
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 4th Mar 2004 22:25 Edited at: 4th Mar 2004 22:25
Quote: "Cool, this would work nice with an upcoming TPC I'm writing:"




It's a TPC - third party command - a DLL you can write then add to the compiler

I'm releasing it soon.

"To do is to be" - Descartes
"To be is to do" - Voltaire
"Do be do be do" - Frank Sinatra

Login to post a reply

Server time is: 2019-06-16 19:44:25
Your offset time is: 2019-06-16 19:44:25