> Is there any C-code examples for a n-Level menue system avaible. > > Or do I have to reinvent the wheel. > > I have searched quite a lot, but sofar I nothing. > I'll be interested in seeing what people come up with. Thus far I've used "nested state machines" written in C or assembly. Each menu level has its own state and a call table. When waiting for user input, the menu system exits with its current state, and the system goes on to handle other stuff. When the menu system is called again, it goes through all the call tables to get to the current nested state. If there has been no user input, it exits again. If there has been user input, it deals with it, updates the display (alphanumeric LCD), updates the state, then exits. My menu systems use four keys (left, right, up, down), and work the same as the lynx web browser. Up and down move you through selections. Right selects something. Left drops you down a menu level towards the root menu. Harold -- FCC Rules Updated Daily at http://www.hallikainen.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist