怎么结果为负数?
ajzhn 2004-11-10 09:29:32 dim s as long
school="原始数据"
s=123456
For i = 1 To schoollen
school = RightB(school, (schoollen - i) * 2)
If school <> "" Then
s = s + CLng(Asc(school)) * (i + 1) ^ 3
End If
Next i
上面这段代码中,school是一个字符串变量,如“原始数据”
可是在循环过程中,s的值变成了负数,哪里有错呀
请教各位了谢谢