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.

Code Snippets / speed programing

Author
Message
Classic Evil
19
Years of Service
User Offline
Joined: 4th Nov 2005
Location: watching you through your window
Posted: 7th Feb 2006 02:48
Here is the code of the typing program I made to help you learn how to type faster. Just copy and paste it into DB and your ready to go.


There are two types of people in this world: people who are extremly cool and are good at everything and people who are me.
Anon E Mouse
18
Years of Service
User Offline
Joined: 7th Feb 2006
Location:
Posted: 8th Feb 2006 04:29
I tried it, and on line 19, theres a problem with the timer variable. could you please tell me how to correct it? just got this today

O(+_+)O
Classic Evil
19
Years of Service
User Offline
Joined: 4th Nov 2005
Location: watching you through your window
Posted: 9th Feb 2006 22:47
are you using DB or DBP because this code only works for DB.

There are two types of people in this world: people who are extremly cool and are good at everything and people who are me.
Anon E Mouse
18
Years of Service
User Offline
Joined: 7th Feb 2006
Location:
Posted: 10th Feb 2006 03:01
o... im using dbp

O(+_+)O
The Master
19
Years of Service
User Offline
Joined: 6th Nov 2005
Location:
Posted: 21st Feb 2006 17:42
Quote: " are you using DB or DBP because this code only works for DB."


same here

Help is here
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 22nd Feb 2006 10:29
Change the variable name timer to time. Timer() is a command and therefore reserved word in DBP.

HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 22nd Feb 2006 15:04
Classic Evil nice program dam hard!

Thought you might like to save your fingers on type in all the check input code.
'if letter=0 then l$="`"'
replace with this



Works by taking the first availbe character that can be printed on screen which is 32 the space then ! = chr$(33).

Now Where's the i key again. Nop!

I'm not getting you down am I, Ho Look! another fancy Door?
The Master
19
Years of Service
User Offline
Joined: 6th Nov 2005
Location:
Posted: 1st Mar 2006 00:58
hey when i typed in what level i wanted it just froze and shut down?

Help is here
Digital Dragon
19
Years of Service
User Offline
Joined: 17th Dec 2004
Location: ...
Posted: 17th Apr 2006 14:52
same here

Uncle Sam
19
Years of Service
User Offline
Joined: 23rd Jul 2005
Location: West Coast, USA
Posted: 2nd May 2006 01:30
Same here. Nothing happened. I pressed escape...it quit.

Uncle Sam
Nvidia Geforce 7600 GS 256MB PCIEx, 2.66 GHZ Pentium 4 proccessor, 768MB RAM
Need particles? Click here!
Drew the G
User Banned
Posted: 2nd May 2006 02:01
I tried it in DBC, I have both DBP and DBC. It worked good I suppose.

"Bug? That's a feature."
"Retreat? We're advancing in a different direction."
Underworld 1020
20
Years of Service
User Offline
Joined: 2nd Mar 2004
Location: NY, USA
Posted: 11th May 2006 02:19 Edited at: 19th Jul 2006 14:09
I liked your program and I decided it would put my new "rand" functions to good use. So I edited your code and made a new version of it. The "rand" functions link is here:

http://forum.thegamecreators.com/?m=forum_view&t=78628&b=6

I changed quite a bit, but the original idea is still there...I tried to stick to the original code as much as possible. Here's the code:


Here's the "keycodes.txt" file:


(I've also attached the .exe file to this post)
Their is still room for improvement though...you may want to add an option for enabling/disabling the number keys(1, 2, 3, etc.). If I were you, I would just keep making it better and better. If you have any questions/comments, please let me know

EDIT: I did this in DBPro...it should work for DBC though too.


Check Out My Site: http://www.freewebs.com/underworld1020 - UNDER CONSTRUCTION!

Attachments

Login to view attachments
The end is near
19
Years of Service
User Offline
Joined: 19th Jun 2005
Location: USA
Posted: 13th May 2006 01:21
Quote: "randomize rnd(9999)"

try


stargate sg-1 the one show that never gets old

Login to post a reply

Server time is: 2024-11-23 07:48:59
Your offset time is: 2024-11-23 07:48:59