作者DRAGONLL (要研不要延)
看板Programming
标题VB6.0 的溢位问题
时间Sun Oct 14 12:03:22 2007
在VB6.0中如果产生溢位的话 会跳出错误的讯息
但是我想照样把值算出来
请问有办法处理吗??
code======
Private Sub Command1_Click()
Dim c As Integer
a = Val(Text1.Text): b = Val(Text2.Text)
c = a + b
Text3.Text = c
End Sub
===젩
--
十楼跳下来:「阿..............................碰~~~」
三楼跳下来:「碰........阿!!!!!!!!!!!!!!」
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 211.74.182.161
※ 编辑: DRAGONLL 来自: 211.74.182.161 (10/14 13:04)