MMCC MASTHEAD




MMCC's PL/B notes
  •    Notes home
  •    Intro
  •    History
  •    Article index
  •    MMCC Standards

    v1.10
  • Mid-Michigan Computer Consultants, Inc.
    509 Center
    Bay City, Michigan

    Sales (989) 892-9242             Support (989) 686-8860


    ANSI Standard PL/B Language
    MMCC Programming Standards
    NOTE TO OUR READERS
    This web resource is written for our own use. But we feel strongly that the PL/B language should be shared with the software community. So feel free to use this at will! BUT PLEASE... if you find errors or omissions or have a better way to do something. TELL US! Dialog helps us all. Send e-mail to: support@mmcctech.com


    MMCC STANDARD MENU PROGRAM


    Most MMCC applications are built around "menu" programs. There can be more than one level of menu and menu program.

    Three variables are maintianed in COMMON storage and used when passing control from one program to another. This is not a hard and fast rule, but it is used in most cases: Some of our MENU programs have sub-menu's build into their code. To insure that we return to that sub-menu when the menu program is chained to, we use the common variable MENULINK. The main menu may load the "tools" sub-menu within it's own code. "Tools" chains to another program setting the menu as the "next program" and putting TOOLS in the MENULINK variable. When control returns to the menu program, it branches directly back to the tools sub-menu within it's own code.

    Back to Standards Index


    © 2001 mmcc All Rights Reserved.

    Report problems or suggestions to support@mmcctech.com