in reply to deleting all the elements of an array

you can also clear an array by setting it's ending index to -1 like
$#table_cont = -1;
It's probably more intuitive to set it to an empty list though (as people have been saying)