Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/29/01 16:44
Read: times


 
#8793 - RE: Menu
Some of the tricks I used:

The structure was built as a variable length DB block. The structure linked to the next command table.

The reason it was variable length is that lines associated with sub command options appeared as lines in the structure. The order could be moved around and the numbering of screen obvously was reassigned. Since this was a screen interface, the Text describing the command options were built into those lines. And to give it function a jump address was in the structure so that the selection could activate the intended code.

If you are doing a menu structure... I highly recommend NOT hard coding any table values. You'll likely change the structure and commands around and you don't want to hand re-count those values. Use the assembler $ address pointer to have the assembly fill ing all the values.

aka j

List of 14 messages in thread
TopicAuthorDate
Menu            01/01/70 00:00      
RE: Menu            01/01/70 00:00      
RE: Menu            01/01/70 00:00      
RE: Menu            01/01/70 00:00      
RE: Menu            01/01/70 00:00      
RE: Menu            01/01/70 00:00      
RE: Menu            01/01/70 00:00      
RE: Menu            01/01/70 00:00      
RE: Menu            01/01/70 00:00      
RE: Menu            01/01/70 00:00      
RE: Menu            01/01/70 00:00      
RE: Menu            01/01/70 00:00      
RE: Menu            01/01/70 00:00      
RE: Menu            01/01/70 00:00      

Back to Subject List