[OKC JUG] Integer too large
Brian Sheldon
brian.s.sheldon at gmail.com
Tue Oct 26 09:04:09 PDT 2010
if you are using 0's in front of your numbers, then java is assuming they
are octal, not base 10... there is no 8 in octal.
On Tue, Oct 26, 2010 at 10:55 AM, Oram, Jackie <joram at osrhe.edu> wrote:
> Hate to bother you guys, but I need some guidance.
>
> I am working with an array defined as errorArray[9999][4][2]. I've
> used the range of indices between and including [1000][0][0] and
> [6000][4][0]. No problem.
>
> The current section of code that I am dealing with needs to use the range
> of indices between [0000][0][0] and [0200][4][2]. I've gotten as far as
> [0070][1][2], but when I try to go to [0080][0][0] and above I get an error
> message of "integer number too large : 0080".
>
> Can someone tell me why I am getting this error?
>
> Thank you in advance,
>
> Jackie
>
> _______________________________________________
> Jug mailing list
> Jug at lists.okcjug.org
> http://lists.okcjug.org/listinfo.cgi/jug-okcjug.org
>
>
--
Brian
http://bubbasslagheapnpdeli.blogspot.com
http://www.au.org
http://www.venganza.org
Twitter id @okieBubba
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okcjug.org/pipermail/jug-okcjug.org/attachments/20101026/0c370549/attachment-0003.htm>
More information about the Jug
mailing list