i am in an intro class and we are making a simple hangman game. I got stuck on step 14, this is what a few of the steps said to do.
14: Declare a form-level variable named strLetterGuesse d as type String.
15: Add code to the btnGuessL_Click event procedure to set the value of strLetterGuesse d to the value in txtLetter.
16: Test your code.
I know the code should look something like
Declare strLetterGuesse d As String
and then under the Click event i should have something like
Set strLetterGuesse d = txtLetter
Where do i actually put the "Declare strLetter.. " statement?
14: Declare a form-level variable named strLetterGuesse d as type String.
15: Add code to the btnGuessL_Click event procedure to set the value of strLetterGuesse d to the value in txtLetter.
16: Test your code.
I know the code should look something like
Declare strLetterGuesse d As String
and then under the Click event i should have something like
Set strLetterGuesse d = txtLetter
Where do i actually put the "Declare strLetter.. " statement?
Comment