in reply to Re: Loops and variable usage
in thread Loops and variable usage

This script was just an example not proper code, but thanks very much for all help. I just figured out that I used '==' to compare strings...

Replies are listed 'Best First'.
Re^3: Loops and variable usage
by roboticus (Chancellor) on Mar 23, 2012 at 19:01 UTC

    Actually, you use 'eq' for strings and '==' for numbers.

    ...roboticus

    When your only tool is a hammer, all problems look like your thumb.