SixtySoftWorks
2004.01.07, 12:46 PM
It's the same code, and it doesn't work yet.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html><head>
<title>JavaScript and Arrays</title>
<meta http-equiv="Content-type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF">
<script>
toast = new Array()
toast[0][0] = "0,0"
toast[0][1] = "0,1"
toast[0][2] = "0,2"
toast[0][3] = "0,3"
toast[1][0] = "1,0"
toast[1][1] = "1,1"
toast[1][2] = "1,2"
toast[1][3] = "1,3"
toast[2][0] = "2,0"
toast[2][1] = "2,1"
toast[2][2] = "2,2"
toast[2][3] = "2,3"
toast[3][0] = "3,0"
toast[3][1] = "3,1"
toast[3][2] = "3,2"
toast[3][3] = "3,3"
document.write(toast[2][2])
</script>
</body>
</html>
:blush:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html><head>
<title>JavaScript and Arrays</title>
<meta http-equiv="Content-type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF">
<script>
toast = new Array()
toast[0][0] = "0,0"
toast[0][1] = "0,1"
toast[0][2] = "0,2"
toast[0][3] = "0,3"
toast[1][0] = "1,0"
toast[1][1] = "1,1"
toast[1][2] = "1,2"
toast[1][3] = "1,3"
toast[2][0] = "2,0"
toast[2][1] = "2,1"
toast[2][2] = "2,2"
toast[2][3] = "2,3"
toast[3][0] = "3,0"
toast[3][1] = "3,1"
toast[3][2] = "3,2"
toast[3][3] = "3,3"
document.write(toast[2][2])
</script>
</body>
</html>
:blush: