W3C home > Mailing lists > Public > www-validator@w3.org > November 2005

decrementing counter causes error [ve][53]

From: Garth Hamilton <garthah@computan.on.ca>
Date: Fri, 11 Nov 2005 21:20:23 -0500
Message-Id: <6.2.3.4.2.20051111211005.02e9a138@mail.computan.com>
To: www-validator@w3.org

<script type="text/javascript">							
	<!-- hide from incomparible browsers
		
		if (direction == "right") {			// if statement to determine  we 
increment the pointer
			++curHorse;			// if moving to right then increment counter curHorse
		}
		else if (direction == "left") {		// if statement to determine  we 
decrement the pointer	
			--curHorse;			// if moving to right then decrement counter curHorse	
		}
	// stop hiding from incompatible browsers -->
</script>

creates an error      should it ?

regards
Garth
Received on Saturday, 12 November 2005 05:46:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:20 GMT