View Single Post
Old 01-12-2004, 11:07 PM   #4
Rogue
10 GOSUB Abandonia
20 GOTO 10
 
Rogue's Avatar

 
Join Date: Nov 2004
Location: Afrim, Albania
Posts: 2,113
Default

I was thinking about documentation for the project, as planning and pseudo code.

Reason program loops is in this loop:

Code:
Do
Call WinCheck(intLastSpot, bytChecking)

If intMultiply > 0 Then
 *intLastSpot = intLastSpot + 8
 *intMultiply = intMultiply - 1
 *MsgBox "intMultiply = " & intMultiply & "."
End If
Loop Until intLastSpot = (intPosition + intMultiplyFinal)
You end up looping, but criteria (intPosition + intMultiplyFinal) is not chenging. (value of intLastSpot is 24, bytChecking is 0, intPosition 8 and intMultyFinal is 24. You have to add the code to change one of values, so that your code can exit loop) It would help me if you have documentation in which you show what your code suposed to do. (That's the way they teach here programming)

When do you need to turn in this program?
Rogue is offline                         Send a private message to Rogue
Reply With Quote