Free Republic
Browse · Search
News/Activism
Topics · Post Article

To: unixfox
10 FOR X=1 to 1000000

That constant is likely to overflow the integer size on most BASIC interpreters. The most you could get away with would be 32767.

100 posted on 05/01/2004 10:29:55 PM PDT by Ichneumon
[ Post Reply | Private Reply | To 72 | View Replies ]


To: Ichneumon
That constant is likely to overflow the integer size on most BASIC interpreters. The most you could get away with would be 32767.

Many microcomputer BASICs used floating-point numbers that could count to 16,777,216 (32-bit) or 4,294,967,296 (40-bit) with to-the-unit accuracy.

107 posted on 05/02/2004 11:01:36 AM PDT by supercat (Why is it that the more "gun safety" laws are passed, the less safe my guns seem?)
[ Post Reply | Private Reply | To 100 | View Replies ]

Free Republic
Browse · Search
News/Activism
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson