
| 
 | 
|  | 作者: xuruijun [xuruijun]  论坛用户 | 登录 | 
| If optionadd.Value = True Then result = x + y If optionsub.Value = True Then result = x - y If optionmult.Value = True Then result = x * y If optiondiv.Value = True Then result = x / y End If 最好可以说得明白点给我听好吗 我第一次学VB 有谁可以帮我改对这道题吗...谢谢了~ [此贴被 珍惜雨(xuruijun) 在 07月25日16时20分 编辑过] | 
| 地主 发表时间: 04-07-20 20:54 | 
|  | 回复: windflower [windflower]  论坛用户 | 登录 | 
| 当if和then的语句在同一行,就不要end if 如if x then y 不在一行如下 if x then y end if | 
| B1层 发表时间: 04-07-21 00:11 | 
| 
 | 
20CN网络安全小组版权所有
Copyright ©    2000-2010 20CN Security Group. All Rights Reserved.
论坛程序编写:NetDemon   

粤ICP备05087286号