for i=1 to 100000000000000
next
错误提示不能超过4294967295
------解决方案--------------------
用longlong
Byte
8-bit unsigned integers, from 0 to +255.
Integer or Int
16-bit signed integers, from -32768 to +32767.
Long
32-bit signed integers, from -2147483648 to +2147483647.
LongLong
64-bit signed integers, from -9223372036854775808 to 9223372036854775807.
UnsignedInteger, UnsignedInt, or UInt
16-bit unsigned integers, from 0 to 65535.
UnsignedLong or ULong
32-bit unsigned integers, from 0 to 4294967295.
------解决方案--------------------
没用过6.5 你试试吧
------解决方案--------------------
这样的循环有啥用?
------解决方案--------------------
如果你确信有这个必要:
for i = 1 to 100000000
for j = 1 to 100000000
//some operate
next
next
------解决方案--------------------
你还可以
dec i = 1.0
dec for_end = 10000000000.0
for i = 1.0 to for_end
next
你也可以用WHILE,反正你用DEC就可以了,当然,要确信你有这种必要.
------解决方案--------------------
大的,数字太大了,用LONGLONG啦,,
楼主说的用到这么大的数据应该用什么变量类型吧,那个FOR应该是例子吧,并不是说这样的FOR有啥用
------解决方案--------------------
我也测试了一下,无任何操作,只是一个循环,就执行了好长时间,直到我的CPU温度报警,我才强行结束进程
------解决方案--------------------
这样的循环有意义?
------解决方案--------------------
double ldb_i
for ldb_i=0 to 1000000000 step 0.00001
next
------解决方案--------------------