There's only one DEF function HI(HashIndex). K$ contains the keys. Oh, dear. More string abuse. I must be the world's foremost string abuser or something. ^_^;