Menu

Numerical data bug

2015-07-24
2015-07-24
  • Peter Stone

    Peter Stone - 2015-07-24

    Hi Guys.
    A frustrating little bug that needs fixing.

    It you accidently type a decimal number as 01 instead of 1 the compiler creates a variable "01" rather than treating the field as a numerical constant "1".

    Cheers

    Peter.

     
  • Anobium

    Anobium - 2015-07-24

    On the list already. The real fix would be the implementation of a parser to check for these errors.

    Meanwhile.... beware. I got caught out on 00 recently.

     
  • Peter Stone

    Peter Stone - 2015-07-24

    Yes.
    I fell into this hole before, but had forgotten about it. A very easy mistake to make.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.