Eine mögliche Lösung
BEGIN {
feld[1] = "Argon"
feld[2] = "Luft"
feld[3] = "Sauerstoff"
feld[6] = "Helium"
# ???????
for(n in feld)
print feld[n]
delete feld[6]
print
for(n in feld)
print feld[n]
}
Ausgabe:
Helium Argon Luft Sauerstoff Argon Luft Sauerstoff
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.