<script language="javascript"> a = new Array(); // ein neues Array ohne Elemente wird erzeugt a[0] = 'Adam'; a[1] = 'Berthold'; a[2] = 'Cornelius'; a[3] = 'Dorothea'; a[4] = 'Eva'; a[5] = 'Fritz'; a[6] = 'Gustav'; for (i=1;i<=6;i++) document.write(i + '. ' + a[i]+'<br>'); </script> |