in reply to Re^3: Argument "" Isn't numeric in numeric eq (==)
in thread Argument "" Isn't numeric in numeric eq (==)

"There is no need to cast..."

Yes s(h)ure. I was a bit confused about this Isn't numeric in numeric eq (==). Sorry, i couldn't explain it better :-(

Best regards, Karl

«The Crux of the Biscuit is the Apostrophe»

  • Comment on Re^4: Argument "" Isn't numeric in numeric eq (==)

Replies are listed 'Best First'.
Re^5: Argument "" Isn't numeric in numeric eq (==)
by choroba (Cardinal) on Feb 09, 2014 at 20:06 UTC
    The empty strings were the reason of the warning. They are handled by the || 0, because emtpy string is false.
    لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ