Hey all: 

just for grins, I want to put up an online typing test. 

I can figure out most of how to do it... but one thing's concerning me... 

If i basically take both strings (the text to type and what the user typed), 
convert to an array using a space as a delimiter...loop over that and 
compare each word... 

well...what happens if the user skips the very first word?  everything after 
that will be 'incorrect'.  Or if the user acciden tally puts a space in a 
word. 

Is this 'standard' when calculating WPM?  Doesn't seem quite right to me. 

If anybody knows a better way to calculate WPM including errors...i'd 
appreciate any advice i could get. 

TIA :)
charlie
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to