View Single Post
Reader Test. Check this out!!!
Old
  (#1)
biohazerd87
Moderator by day Waypointer by night
 
biohazerd87's Avatar
 
Status: Offline
Posts: 1,039
Join Date: Apr 2004
Location: Missouri
Default Reader Test. Check this out!!! - 04-08-2004

Count the the number of times the letter f appears in the following paragraph.
.
.
The For-Next loop runs through the string character-by-character, checking for a match adding 1 to the value of the Count variable if it finds one. Finally, the value of the local variable Count is what this function will return. In this case, the body of the function ends with the assignment that defines the function.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
How many did you count? Did you count 8? Sorry there are actually 11!!! Don't believe me? Have a look...
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
The For-Next loop runs through the string character-by-character, checking for a match adding 1 to the value of the Count variable if it finds one. Finally, the value of the local variable Count is what this function will return. In this case, the body of the function ends with the assignment that defines the function.
.
.
You missed the of !!!! Of is so short the brain can't process it when it is in reading material so it puts it in automatcialy, so you don't relize it.
  
Reply With Quote