Previous Next         Current Page: NeXtMidas User's Guide / System Operation / Switches / Global Switches
FAQs   
Release Information   
Getting Help   
Basic Concepts   
Result Parameters   
XML Support   
Files   
System Operation   
   - Basic Command Form   
   + Parameters   
   - Switches   
      - Switch Usage   
      - Global Switches   
      - Current Switch List   
   + Metacharacters   
   - Inline Calculations   
   - Function Invocation   
Macros   
Applets and WebStart   
Graphics   
X-Midas Interoperability   
Third-Party Compatibility   
Installation and Customization   
Glossary   






Global Switches

A global switch can be applied to all commands.

/bg is a global state switch. It does not take a value, but is either on (i.e., present) or off. Here, the switch puts the plot of the world map in the background:

nM> plot world /bg

Global switches should be used with a macro. For instance, this changes the default pipe size on all the pipes in the macro:

startmacro/ps=1m
  noop file _out  ! pipe size will be 1m
endmacro