[OKC JUG] Integer too large

Jason Lee jason at steeplesoft.com
Tue Oct 26 09:05:25 PDT 2010


That was my first thought too, but I wanted to see code to see if it's 
hard-coded or in a loop.

On 10/26/10 11:04 AM, Brian Sheldon wrote:
> 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 
> <mailto: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 <mailto: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
>
>
> _______________________________________________
> Jug mailing list
> Jug at lists.okcjug.org
> http://lists.okcjug.org/listinfo.cgi/jug-okcjug.org


-- 
Jason Lee
Senior Member of Technical Staff at Oracle
http://blogs.steeplesoft.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okcjug.org/pipermail/jug-okcjug.org/attachments/20101026/52289594/attachment-0003.htm>


More information about the Jug mailing list