[thelist] javascript debug (easy)
Jeff Howden
jeff at jeffhowden.com
Sun Jun 5 17:23:34 CDT 2005
Volkan,
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: VOLKAN ÖZÇELIK
>
> The correct usage should be
>
> if(agree==true) {
> ...
> }
> else {
> ...
> }
>
> The {} delimeters are absent as well.
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
Curly braces are only required when there is more than one statement within
an if/else block. They are therefore needed for the if() block above, but
not the else block.
[>] Jeff Howden
jeff at jeffhowden.com
http://jeffhowden.com/
More information about the thelist
mailing list