用VB6编写程序:接收键盘输入的任意字符,并以相反顺序输出,当输入空格时停止。谢谢~~~
答案:1 悬赏:0
解决时间 2021-11-30 03:31
- 提问者网友:话酸浅沫
- 2021-11-29 03:05
用VB6编写程序:接收键盘输入的任意字符,并以相反顺序输出,当输入空格时停止。谢谢~~~
最佳答案
- 二级知识专家网友:萌萌哒小可爱
- 2021-11-29 03:20
什么叫停止,可以百度HI找我。
Private Sub Form_KeyPress(KeyAscii As Integer)
Cls
Static istr As String
If KeyAscii = 32 Then end
istr = istr & Chr(KeyAscii)
Print StrReverse(istr)
End Sub
Private Sub Form_Load()
Me.KeyPreview = True
End Sub
Private Sub Form_KeyPress(KeyAscii As Integer)
Cls
Static istr As String
If KeyAscii = 32 Then end
istr = istr & Chr(KeyAscii)
Print StrReverse(istr)
End Sub
Private Sub Form_Load()
Me.KeyPreview = True
End Sub
我要举报
如以上问答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯