next up previous contents
Next: mesh Up: Commands Previous: merg   Contents


menu

   'menu' <name> <command>
This keyword is used to add a cgx command line to the menu. It will appear in the submenu 'user'. The command is usually a 'read' command which loads and executes a file with cgx commands:

menu checkbou read cb

were 'cb' is a value (''valu'') which stores the path to a file to check boundary conditions. The file could have been used diredtly but using a value is convenient since it is then possible to start the same action with a quite short command line (''read cb'') instead of typing the full file name. This commands are usually stored in a ``.cgx'' file in the home directory to link them to the menu during startup.



root 2018-12-15