标题:为什么说我子程序为定义
取消只看楼主
hhpcy
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2015-10-2
结帖率:0
已结贴  问题点数:20 回复次数:0 
为什么说我子程序为定义
Private Sub cmdhfjf_Click()
hffs = hffs + jfl
Dim a, b
a = hffs Mod 10
b = hffs \ 10
If a = 0 Then Call xsoh
If a = 1 Then Call xs1h
If a = 2 Then Call xs2h
If a = 3 Then Call xs3h
If a = 4 Then Call xs4h
If a = 5 Then Call xs5h
If a = 6 Then Call xs6h
If a = 7 Then Call xs7h
If a = 8 Then Call xs8h
If a = 9 Then Call xs9h
If b = 0 Then Call xs0sh
If b = 1 Then Call xs0sh
If b = 2 Then Call xs0sh
If b = 3 Then Call xs0sh
If b = 4 Then Call xs0sh
If b = 5 Then Call xs0sh
If b = 6 Then Call xs0sh
If b = 7 Then Call xs0sh
If b = 8 Then Call xs0sh
If b = 9 Then Call xs0sh
If hffs >= 11 Then
MsgBox ("红方胜")
End If
End Sub
搜索更多相关主题的帖子: 子程序 
2015-10-02 19:46



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-457883-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.332653 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved