Re: [q-lang-users] Why is this an error
Brought to you by:
agraef
From: Larry G. <lg...@ac...> - 2006-07-02 01:08:51
|
Tim Haynes wrote: > Larry Gregg <lg...@ac...> writes: > > >> People: >> >> Why does the following produce a syntax error? >> >> ==> 7+09 >> ! Syntax error >> >>> 7+09 >> ^ >> > [snip] > > >> It seems reasonable that 7 + 09 should produce 16, yes? >> > > Seemingly not. Consider: > > | ==> 071 > | 57 > > Octal means numbers digits go up to 7, hence that syntax error ;) > > ~Tim > Tim: Thanks. I see now why it errored out. Larry |