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 ANSWER / MASTER PROGRAMS


    The PL/B runtime environment uses a concept of called the ANSWER / MASTER programs for starting a system. When the PLBWIN runtime is started in a folder it looks for a program called ANSWER. Traditionally the ANSWER program would check for logon security then chain to a program called MASTER which would be the main menu.

    The MASTER or MENU program would chain to various application program which would chain back to the menu on exit.

    Application program can also issue a STOP instruction. In this case the ANSWER program is executed again.

    The PLBWIN command line can also name the program to be used as the ANSWER program. Traditionally MMCC wrote a main menu program and executed it by name. It performed the function of ANSWER as well as MASTER and MENU.

    Many of our systems can still be executed by naming the first program. Take the FREDDY real estate system for example. We make the shortcut read:
         \SUNBELT\PLBWIN.87\CODE\PLBWIN.EXE FR000000

    In cases like the FREDDY system, we wrote an ANSWER program which chains directly to FR000000. This way we can execute either the traditional way or we can leave out the program name and still arrive at FR000000.



    Back to Standards Index


    © 2001 mmcc All Rights Reserved.

    Report problems or suggestions to support@mmcctech.com