blacklemons
The Freeman
I'm learning to love programming BASIC, and I can't afford Visual Basic. Does anyone know of a free program that will let me use BASIC?
Private Sub Form_Click()
10 Dim S1 As String
20 Dim S2 As Single
30 Dim SA As Single
40 Dim NAME As String
100 NAME = InputBox("What is the name? If done, type '999'")
110 If NAME = "999" Then GoTo 300
120 S1 = InputBox("What is their first score?")
130 S2 = InputBox("What is their second score?")
140 A = ( S1 + S2 ) / 2
150 GoTo 100
300 Print NAME, A
310 Print "DONE"
End Sub
Hinesmdc said:the goto command is definitly fine, and it specifies the first line is incorrect no matter what it is
i tried several different lines
i dont think this program supports the language i want it to
Hinesmdc said:his solution would only change how the output looks