you have all been so helpful so far, so you have another unpleasant problem for you!
I have a basic word guessing game written in Pascal for a console in Delphi 7 where the guesses (right or wrong) are stored in a fixed array with the name "guesses", now I need to check see if they have already guessed about this letter. I have the following code ...
Write ('Guess a letter:');
Readln (guess);
Guess: = UpCase (Guess);
repeat
for i: = 1 to 20 do
begin
if guess = guesses [i] then
begin
guessed: = true;
end
else begin
guessed: = false;
end;
end;
until (guessed = true) or (i = 20);, for 20 "", . , 20 , "" .
!