Let`s say I need to read a character from the keyboard and then check if this character is valid (have some function) in the current menu part. So, if I am in firstMenu, search