Display of Processing Word

SIR,Why you don’t use entry.getkey() in loop though it work equivalently correct when I used it in self writing the code.

Yeah, you can use it. It should work just fine.