标题:求助一道题
取消只看楼主
benzchen
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2007-9-25
 问题点数:0 回复次数:0 
求助一道题
Private Sub Command1_Click()
Dim a As Integer
Dim b As Integer
Dim c As Long
For a = 0 To 10000
b = Len(a)
c = a * a
If a = Right(c, b) Then
Print a
End If
Next
End Sub


各位帮忙看一下,为什么运行后,出现c=a*a 溢出呢?
2007-09-28 23:01



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




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

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