Re: Newbiee JS problem
by "Steve Cost" <scost(at)neo.rr.com>
|
Date: |
Sat, 22 Jul 2000 23:44:19 -0400 |
To: |
"David Andrew" <davida51(at)swbell.net>, <hwg-languages(at)hwg.org> |
References: |
swbell |
|
todo: View
Thread,
Original
|
|
Looks like you forgot an "i" (no quotes) immediately before the "<" sign,
which sets an upper bound on the variable i.
hth.
--
Steve C
www.ReadersOpinions.com
-Why is it you must wait until night to call it a day?
----- Original Message -----
From: David Andrew <davida51(at)swbell.net>
To: <hwg-languages(at)hwg.org>
Sent: Saturday, July 22, 2000 10:39 PM
Subject: Newbiee JS problem
| Hi All -
|
| I am going through the "JavaScript Bible 3rd Edition" and have problems
| with problem 7-1.
|
| The script can be found at
| http://www.gggraphics.net/JS_Class/cp_7_1.htm
|
| When I validate in NS, I get for line 18:
|
| syntax error.
|
| for ( var i = 0; < USStates.length; i++)
| ...............................^
|
| I'm hoping fresh eyes will be able to tell me my mistake.
|
| TIA
|
| David Andrew
|
HWG: hwg-languages mailing list archives,
maintained by Webmasters @ IWA