On Feb 21, 3:09 pm, Astan Chee <s...@al.com.auwrote:
Hi,
I just tried to do
eval('00052') and it returned 42.
Is this a known bug in the eval function? Or have I missed the way eval
function works?
Thanks
Eight fives are forty. Forty plus two is forty two. I see no bug here,
only a language design strangeness which can be blamed on the then-
pervasive influence of all things from Bell Labs :-)
BTW, hasn't anyone told you not to play with the eval function? Put it
down. You could catch something nasty.