Code:
 alias find_HT {
  window -ek0 @hashtables
  var %totalht $hget(0)
  while %totalht > 0 {
    var %httotal $hget(%totalht,0)
    while %httotal > 0 {
      aline 4 @hashtables $hget(%totalht,%httotal).data
      dec %httotal
    }
    dec %totalht
  }
  echo @hashtables Finished, hopefully
}
 
I wrote the above code to hopefully get a list of all the hash tables and the data contained in them, but its not working. I am still learning hash tables, and i seem to have made a mistake, it only prints out "Finished, hopefully". It doesn't print out any of the hash tables or the data in them, can yall help me?


keek: Scots - intr.v. keeked, keekĀ·ing, keeks
To peek; peep.