Common Menu Operations

After you have a menu constructed and in use, there are several common operations you may want to perform. These are accomplished with the W$MENU library routine. This section describes only these frequently used operations.

See the entry for W$MENU in ACUCOBOL-GT Appendices manual, Appendix I, for details on using this routine.

The W$MENU routine takes one or more parameters, which are always passed BY REFERENCE (the default in COBOL). The first parameter is always an operation code. This code defines what the routine will do. The remaining parameters depend on the operation selected. The operation codes are defined in the COPY file acugui.def, which by default is located at: ...\AcuGT\sample\def.