回复 8楼 紫苑星苑
出现第二个BUG:Private Sub Command_KeyPress(KeyAscii As Integer)
If (KeyAscii <> 13) Then
Exit Sub
End If
Dim cmd$(), data_send$, num%
data_send = "[server]|" & Command.Text
For num = 1 To linknow
If (ServerLink(num).State = 7) Then
ServerLink(num).SendData data_send---------------------------错误:变量未定义
DoEvents
End If
Next num
Message.AddItem "[Server]:" & Command.Text
Command.Text = ""
KeyAscii = 0
End Sub