in reply to Re: Debug basic calculator syntax
in thread Debug basic calculator syntax

Ah...but the second run after changing '=' to '==' will give this error: 'Argument "foo" isn't numeric in numeric eq (==) at line <script name> <line number>'. It's the old theory of debugging; fix exactly one error at a time, because each error that you fix could be either creating or masking other errors.

thor

Feel the white light, the light within
Be your own disciple, fan the sparks of will
For all of us waiting, your kingdom will come

Replies are listed 'Best First'.
Re^3: Debug basic calculator syntax
by CountZero (Bishop) on Jun 23, 2005 at 21:23 UTC
    Well observed! That's why I said the warning message was helpful but misleading.

    CountZero

    "If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law