The following was originally a list of five-letter words, but in each case two consecutive letters (though never the first two) have been removed. The 26 missing letters are all different. What was the original list?
A N T
A S S
B A Y
C O Y
D I M
E E L
F A R
M A R
P I E
S E E
T I E
T O P
W I N
Why can't I emulate your results?
1. I copy-pasted the listing straight to QB64.
2. I modified the directory where my wordlist(s) are located.
My screen gives me one line of 13 zeroes.
I have checked and all words cited are contained within my list(s). I say lists because I copy-pasted a 5-letter list from a site straight into Notepad; the format is: word1 [space] word2 [space].... This file is "5letters.txt".
My second list is the same list but with just one word per line (no following space). This is called "5_wordlist.txt".
I've tried fiddling with these lines:
OPEN "C:\qb64\work\wordlists\5letters.txt" FOR BINARY AS #1
w$ = SPACE$(5) REM w$ = SPACE$(6) so that I copy the space.
DO
GET #1, , w$
' w$ = LEFT$(w$, 5) REM I remove the space if w$ has a length of 6.
PRINT w$ (included so that can see what the GET is collecting).
|
Posted by brianjn
on 2013-05-02 02:51:02 |