Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

integer number too large

 
Barb Rudnick
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greetings!
The error generated during compilation of this interface makes no sense to me! Why are 01 through 07, 11, 12 and 99 valid integers and 08 is not?



Thanks in advance for your help.
Best regards, Lilee
 
Steven Bell
Ranch Hand
Posts: 1071
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Placing a 0 (zero) in front of a number denotes octal representation. 8 is outside the range of octal numbers.
 
Barb Rudnick
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Steven.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic