Include

Prev Next Home Home Table Of Contents Index

Include (MenuName)

This is used to insert the menu code from another file into the menu that you are compiling.


Example:
Include 'DOS.MNU'

This will compile DOS.MNU into your present menu as if that whole file were part of the menu you are working on.

This is useful if you have several menus that share common code. By moving this common code to a separate file, and using an Include statement, you can change the common code and update several menus at once. If you are using overlays, it is a good idea to put your shared variables in an Include file. This assures that the shared variables will be the same for all overlays.

Changing an Include file does not cause MarxMenu to recompile automatically like changing the MNU does. You will have to force it to compile your menus.

This can be done several ways. You can type MARXCOMP (menu) or you can just type DEL *.MRX which will cause all the menus to recompile the next time they are run.

Category: Misc

Prev Next Home Home Table Of Contents Index

Sponsors
Shopping
Forum
Forum
email
EMail
Index
Index
Home
Home