[求助]下列代码为什么通不过
下列代码通不过,请高手指点一下:Private Sub Command1_Click()
Dim a, T2, h As String, T1, i, j As Integer
For i = 1 To Len(Text2.Text)
T2 = T2 + Hex$(Asc(Mid$(Text2.Text, i, 1))) ;要求Text2.Text内容为汉字 ?
h = Mid(Text4.Text, 1, 4) & Mid(Text4.Text, 6, 4) ;要求text4.text内容为字母和数字
Next i
For j = 1 To Len(T2) Step 2
X = X & Mid(T2, j, 2)
Next j
y = h Mod X ;提示错误:类型不匹配
Text1.Text = y
End Sub
[此贴子已经被作者于2005-12-18 16:37:51编辑过]