Dim StrNum1, StrNum2 As String
Dim FirstNum As Boolean 'judgment is begin with
The above are in statement
Form_Load
Num1=0
Num2=0
StrNum1=""
StrNum2=""
FirstNum=True please this don't know what is True represent?
Private Sub Command1_Click (Index As an Integer)
The Select Case Index
Case 0 To 9
If FirstNum Then please have the If Then FirstNum Then what do you mean? It is said is true or false or represents what mean?
Turn StrNum1=Str (Index) 'real character
Early FirstNum=False 'assignment is False please and what is this?
The Else '
at the beginning of the assignment
StrNum1=StrNum1 + Str (Index)
End the If
Text1. Text=StrNum1 show
'
End the Select
End Sub
CodePudding user response:
Remember whether the current for the first number from left to right, I guess,CodePudding user response:
I think he should be used for the style of the C language habits, if so then how how, after the judgment is true give strnum1 index assignment, and then give the text displayed strnum1 assignmentCodePudding user response:
FirstNum=True 'input 0-9, can be used as new data first