WPM?

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Post Reply
Guest
Veteran
Posts: 128
Joined: Sun Aug 14, 2005 8:33 pm
Location: Forest Lake, MN
Contact:

WPM?

Post by Guest »

How could I display WPM(Words per minute aka gwam rate) in real time?
User avatar
{Nathan}
Veteran
Posts: 1169
Joined: Thu Aug 19, 2004 6:08 pm
Location: The wetlands of central Ohio, USA
Contact:

Post by {Nathan} »

Heres some psuedo code:

Code: Select all

(Beggining of program)
(start loop)
Timer = Time
(do the some stuff)
IF Time >= 60 then WPM = (the amount of words they typed)
loop
If you need help on the amount of words they typed, use INSTR$ and find the spaces and look at a parser tutor... I hope I helped.
Image
Guest
Veteran
Posts: 128
Joined: Sun Aug 14, 2005 8:33 pm
Location: Forest Lake, MN
Contact:

Reply

Post by Guest »

Thanks...
Post Reply