vb6.0中实时错误424代表
这是一个用vb6.0编写的计算器代码部分,但是调试的时候出现424错误,由于没有装MSDN,请各位帮忙解决呀!!DimclAsBooleanDimMAsIntegerPr...
这是一个用vb6.0编写的计算器代码部分,但是调试的时候出现424错误,由于没有装MSDN,请各位帮忙解决呀!!
Dim cl As Boolean
Dim M As Integer
Private Sub Add_textbox(st As String)
If Len(textbox1.Text) > 8 And cl = False Then Exit Sub
If textbox1.Text = "0" And st = "0" Then Exit Sub
M = CDbl(textbox1.Text)
If M <> 0 And cl = True Then
textbox1.Text = " "
cl = False
End If
If textbox1.Text = "0" And st <> "." Then textbox1.Text = " "
textbox1.Text = textbox1.Text + st
End Sub 展开
Dim cl As Boolean
Dim M As Integer
Private Sub Add_textbox(st As String)
If Len(textbox1.Text) > 8 And cl = False Then Exit Sub
If textbox1.Text = "0" And st = "0" Then Exit Sub
M = CDbl(textbox1.Text)
If M <> 0 And cl = True Then
textbox1.Text = " "
cl = False
End If
If textbox1.Text = "0" And st <> "." Then textbox1.Text = " "
textbox1.Text = textbox1.Text + st
End Sub 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询