Why gives "k = 09" a syntax error ?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Stef Mientki

    Why gives "k = 09" a syntax error ?

    hello,

    Why gives "k = 09" a syntax error ?

    thanks,
    Stef Mientki
  • Diez B. Roggisch

    #2
    Re: Why gives "k = 09" a syntax error ?

    Stef Mientki schrieb:
    hello,
    >
    Why gives "k = 09" a syntax error ?
    because numbers starting with 0 are an octal value, allowing only the
    literals 0-7.

    Diez

    Comment

    Working...