
    Key = Keytable[scankey][Index];
    if (Index < strlen(KeyTable[scankey]))  Index++;
    else   Index = 0;
