## MMPM/2 Device Driver Reference

[prev][next][parent][TOC]

### Startup Example

The following is an example of how to specify RCDATA 19 parameters to ask a user if they want to run a hardware setup test:

    RCDATA 19
    BEGIN
       // Prompts for the User
       "1",                        /* Number of prompts to ask user (3 chars)    */
                                   /* (max 10 prompts).                          */
       // Prompt 1
       "Run hardware test on startup",/* Title of Prompt (max 50 chars).         */
       "2",                        /* Number of valid values (2 chars).          */
       "yes"                       /* Valid values  (20 chars each).             */
       "no"

       "test"                      /* Corresponding CONFIG.SYS values            */
       "notest"                    /* (20 chars each).                           */

       "1",                        /* Default value - Index into valid values    */
                                   /* (2 chars).                                 */
    END